aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-title-bar.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-06-10 08:49:59 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-06-10 08:49:59 +0800
commit033939c7232dbaf215c5ee09a8c5778303d112a8 (patch)
tree93e55bb8408bf04556b82e4ce89384fb6b926f98 /widgets/misc/e-title-bar.c
parent0dd54508bb2d440de95ac854777519fd7b3fa78b (diff)
downloadgsoc2013-evolution-033939c7232dbaf215c5ee09a8c5778303d112a8.tar.gz
gsoc2013-evolution-033939c7232dbaf215c5ee09a8c5778303d112a8.tar.zst
gsoc2013-evolution-033939c7232dbaf215c5ee09a8c5778303d112a8.zip
Fix pixmap/bitmap leak in ETitleBar.
svn path=/trunk/; revision=3499
Diffstat (limited to 'widgets/misc/e-title-bar.c')
-rw-r--r--widgets/misc/e-title-bar.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/widgets/misc/e-title-bar.c b/widgets/misc/e-title-bar.c
index a161e8145a..26b25a126a 100644
--- a/widgets/misc/e-title-bar.c
+++ b/widgets/misc/e-title-bar.c
@@ -99,6 +99,9 @@ close_button_realize_cb (GtkWidget *widget,
gtk_container_add (GTK_CONTAINER (priv->close_button), priv->close_button_gtk_pixmap);
gtk_widget_show (priv->close_button_gtk_pixmap);
+
+ gdk_pixmap_unref (close_button_pixmap);
+ gdk_bitmap_unref (close_button_mask);
}
static void