aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
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
parent0dd54508bb2d440de95ac854777519fd7b3fa78b (diff)
downloadgsoc2013-evolution-033939c7232dbaf215c5ee09a8c5778303d112a8.tar
gsoc2013-evolution-033939c7232dbaf215c5ee09a8c5778303d112a8.tar.gz
gsoc2013-evolution-033939c7232dbaf215c5ee09a8c5778303d112a8.tar.bz2
gsoc2013-evolution-033939c7232dbaf215c5ee09a8c5778303d112a8.tar.lz
gsoc2013-evolution-033939c7232dbaf215c5ee09a8c5778303d112a8.tar.xz
gsoc2013-evolution-033939c7232dbaf215c5ee09a8c5778303d112a8.tar.zst
gsoc2013-evolution-033939c7232dbaf215c5ee09a8c5778303d112a8.zip
Fix pixmap/bitmap leak in ETitleBar.
svn path=/trunk/; revision=3499
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/ChangeLog5
-rw-r--r--widgets/misc/e-title-bar.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
new file mode 100644
index 0000000000..2529f8f9f7
--- /dev/null
+++ b/widgets/misc/ChangeLog
@@ -0,0 +1,5 @@
+2000-06-10 Ettore Perazzoli <ettore@helixcode.com>
+
+ * e-title-bar.c (close_button_realize_cb): Unref the pixmap and
+ the mask.
+
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