aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/text')
-rw-r--r--widgets/text/e-text.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c
index b487cf44db..0abef82bd5 100644
--- a/widgets/text/e-text.c
+++ b/widgets/text/e-text.c
@@ -433,6 +433,16 @@ e_text_destroy (GtkObject *object)
text->tooltip_timeout = 0;
}
+ if ( text->dbl_timeout ) {
+ gtk_timeout_remove (text->dbl_timeout);
+ text->dbl_timeout = 0;
+ }
+
+ if ( text->tpl_timeout ) {
+ gtk_timeout_remove (text->tpl_timeout);
+ text->tpl_timeout = 0;
+ }
+
if (GTK_OBJECT_CLASS (parent_class)->destroy)
(* GTK_OBJECT_CLASS (parent_class)->destroy) (object);
}