From 033939c7232dbaf215c5ee09a8c5778303d112a8 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Sat, 10 Jun 2000 00:49:59 +0000 Subject: Fix pixmap/bitmap leak in ETitleBar. svn path=/trunk/; revision=3499 --- widgets/misc/ChangeLog | 5 +++++ widgets/misc/e-title-bar.c | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 widgets/misc/ChangeLog (limited to 'widgets') 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 + + * 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 -- cgit