aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/text')
-rw-r--r--widgets/text/e-text.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c
index 0086a80194..8e2f4451a6 100644
--- a/widgets/text/e-text.c
+++ b/widgets/text/e-text.c
@@ -419,6 +419,11 @@ e_text_destroy (GtkObject *object)
text->timer = NULL;
}
+ if ( text->tooltip_timeout ) {
+ gtk_timeout_remove (text->tooltip_timeout);
+ text->tooltip_timeout = 0;
+ }
+
if (GTK_OBJECT_CLASS (parent_class)->destroy)
(* GTK_OBJECT_CLASS (parent_class)->destroy) (object);
}