From d42effce71204eeb2f985e284047118e8d9fd813 Mon Sep 17 00:00:00 2001 From: 3 Date: Tue, 23 Oct 2001 23:31:16 +0000 Subject: Remove the idle_id when we're destroyed so the idle func doesn't run on an 2001-10-23 * 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 --- mail/mail-display.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mail/mail-display.c') 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); -- cgit