diff options
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); |