aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-display.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-display.c')
-rw-r--r--mail/mail-display.c3
1 files changed, 3 insertions, 0 deletions
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);