diff options
author | 3 <NotZed@Ximian.com> | 2001-10-24 07:31:16 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-10-24 07:31:16 +0800 |
commit | d42effce71204eeb2f985e284047118e8d9fd813 (patch) | |
tree | 5567ca1fa0d4c41d52cc3ca33fe3e9b8843b6a14 /mail | |
parent | a6b2711b080314da9ab3cc1921e7d3b8560993df (diff) | |
download | gsoc2013-evolution-d42effce71204eeb2f985e284047118e8d9fd813.tar gsoc2013-evolution-d42effce71204eeb2f985e284047118e8d9fd813.tar.gz gsoc2013-evolution-d42effce71204eeb2f985e284047118e8d9fd813.tar.bz2 gsoc2013-evolution-d42effce71204eeb2f985e284047118e8d9fd813.tar.lz gsoc2013-evolution-d42effce71204eeb2f985e284047118e8d9fd813.tar.xz gsoc2013-evolution-d42effce71204eeb2f985e284047118e8d9fd813.tar.zst gsoc2013-evolution-d42effce71204eeb2f985e284047118e8d9fd813.zip |
Remove the idle_id when we're destroyed so the idle func doesn't run on an
2001-10-23 <NotZed@Ximian.com>
* mail-display.c (mail_display_destroy): Remove the idle_id when
we're destroyed so the idle func doesn't run on an invalid object.
svn path=/trunk/; revision=13966
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 3 | ||||
-rw-r--r-- | mail/mail-display.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 5969030766..dbc2fbfd9e 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,8 @@ 2001-10-23 <NotZed@Ximian.com> + * mail-display.c (mail_display_destroy): Remove the idle_id when + we're destroyed so the idle func doesn't run on an invalid object. + * message-list.c (regen_list_regened): Dont do anything if we're destroyed #13021. diff --git a/mail/mail-display.c b/mail/mail-display.c index 73c0c9a1ab..30cb0bc751 100644 --- a/mail/mail-display.c +++ b/mail/mail-display.c @@ -1492,6 +1492,9 @@ mail_display_destroy (GtkObject *object) g_datalist_clear (mail_display->data); g_free (mail_display->data); + if (mail_display->idle_id) + gtk_timeout_remove(mail_display->idle_id); + gtk_widget_unref (mail_display->invisible); mail_display_parent_class->destroy (object); |