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.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/mail-display.c b/mail/mail-display.c
index 83e8136057..15ba0fd8f4 100644
--- a/mail/mail-display.c
+++ b/mail/mail-display.c
@@ -2280,6 +2280,11 @@ popup_window_destroy_cb (PopupInfo *pop, GObject *deadbeef)
{
the_popup = NULL;
+ if (pop->destroy_timeout != 0) {
+ gtk_timeout_remove (pop->destroy_timeout);
+ pop->destroy_timeout = 0;
+ }
+
popup_info_free (pop);
}