diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2000-06-10 08:49:59 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2000-06-10 08:49:59 +0800 |
commit | 033939c7232dbaf215c5ee09a8c5778303d112a8 (patch) | |
tree | 93e55bb8408bf04556b82e4ce89384fb6b926f98 /widgets/misc | |
parent | 0dd54508bb2d440de95ac854777519fd7b3fa78b (diff) | |
download | gsoc2013-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')
-rw-r--r-- | widgets/misc/ChangeLog | 5 | ||||
-rw-r--r-- | widgets/misc/e-title-bar.c | 3 |
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 |