aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-09-09 00:32:24 +0800
committerDan Winship <danw@src.gnome.org>2001-09-09 00:32:24 +0800
commit1cf0994cec0d6504fafd8a56438939af88dd81df (patch)
tree415adb519f0b5ce5f4b664560bf310290a53cd3d
parent757848f05420d848348cfc1eb3311a6504586b02 (diff)
downloadgsoc2013-evolution-1cf0994cec0d6504fafd8a56438939af88dd81df.tar
gsoc2013-evolution-1cf0994cec0d6504fafd8a56438939af88dd81df.tar.gz
gsoc2013-evolution-1cf0994cec0d6504fafd8a56438939af88dd81df.tar.bz2
gsoc2013-evolution-1cf0994cec0d6504fafd8a56438939af88dd81df.tar.lz
gsoc2013-evolution-1cf0994cec0d6504fafd8a56438939af88dd81df.tar.xz
gsoc2013-evolution-1cf0994cec0d6504fafd8a56438939af88dd81df.tar.zst
gsoc2013-evolution-1cf0994cec0d6504fafd8a56438939af88dd81df.zip
Unref the invisible, don't just destroy it.
* mail-display.c (mail_display_destroy): Unref the invisible, don't just destroy it. svn path=/trunk/; revision=12704
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-display.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 95a5adc284..42fae44eac 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2001-09-08 Dan Winship <danw@ximian.com>
+
+ * mail-display.c (mail_display_destroy): Unref the invisible,
+ don't just destroy it.
+
2001-09-07 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (mail_write_authenticity): Give the full path of
diff --git a/mail/mail-display.c b/mail/mail-display.c
index dc75a27e78..fab2184652 100644
--- a/mail/mail-display.c
+++ b/mail/mail-display.c
@@ -1398,7 +1398,7 @@ mail_display_destroy (GtkObject *object)
g_datalist_clear (mail_display->data);
g_free (mail_display->data);
- gtk_widget_destroy (mail_display->invisible);
+ gtk_widget_unref (mail_display->invisible);
mail_display_parent_class->destroy (object);
}