aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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