aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-05-10 01:18:31 +0800
committerChris Lahey <clahey@src.gnome.org>2000-05-10 01:18:31 +0800
commita588f367b2ef4fab4ec701667551454da084eed3 (patch)
treec0ef23e45760cd8e2d5b95c527c8064ad9b98f09 /widgets/text
parentac7def3e9d77081212b6a0537fa86e2172701634 (diff)
downloadgsoc2013-evolution-a588f367b2ef4fab4ec701667551454da084eed3.tar
gsoc2013-evolution-a588f367b2ef4fab4ec701667551454da084eed3.tar.gz
gsoc2013-evolution-a588f367b2ef4fab4ec701667551454da084eed3.tar.bz2
gsoc2013-evolution-a588f367b2ef4fab4ec701667551454da084eed3.tar.lz
gsoc2013-evolution-a588f367b2ef4fab4ec701667551454da084eed3.tar.xz
gsoc2013-evolution-a588f367b2ef4fab4ec701667551454da084eed3.tar.zst
gsoc2013-evolution-a588f367b2ef4fab4ec701667551454da084eed3.zip
Remove the tooltip callback when destroyed.
2000-05-09 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.c: Remove the tooltip callback when destroyed. svn path=/trunk/; revision=2952
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);
}