aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-07-08 06:21:12 +0800
committerChris Lahey <clahey@src.gnome.org>2001-07-08 06:21:12 +0800
commit23bb03e9939cc86b68b546570edc7884d7a1b051 (patch)
treeee9770862dbdaa1bfa5f29aad61f09f7dd032efc /widgets/misc
parentc7fac300f31e086be19d0291d618130ef01c09b7 (diff)
downloadgsoc2013-evolution-23bb03e9939cc86b68b546570edc7884d7a1b051.tar
gsoc2013-evolution-23bb03e9939cc86b68b546570edc7884d7a1b051.tar.gz
gsoc2013-evolution-23bb03e9939cc86b68b546570edc7884d7a1b051.tar.bz2
gsoc2013-evolution-23bb03e9939cc86b68b546570edc7884d7a1b051.tar.lz
gsoc2013-evolution-23bb03e9939cc86b68b546570edc7884d7a1b051.tar.xz
gsoc2013-evolution-23bb03e9939cc86b68b546570edc7884d7a1b051.tar.zst
gsoc2013-evolution-23bb03e9939cc86b68b546570edc7884d7a1b051.zip
Destroy the tooltip if we're the owner when we're destroyed. Also, keep a
2001-07-07 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text.c, gal/e-text/e-text.h (e_text_destroy): Destroy the tooltip if we're the owner when we're destroyed. Also, keep a reference to the text object in case we get a signal on the window after the text object is destroyed. * gal/widgets/e-canvas.c (e_canvas_destroy): Hide the tooltip if there is one when the canvas is destroyed. svn path=/trunk/; revision=10888
Diffstat (limited to 'widgets/misc')
-rw-r--r--widgets/misc/e-canvas.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/misc/e-canvas.c b/widgets/misc/e-canvas.c
index e48c6bb821..fea3746ce1 100644
--- a/widgets/misc/e-canvas.c
+++ b/widgets/misc/e-canvas.c
@@ -139,6 +139,8 @@ e_canvas_destroy (GtkObject *object)
canvas->toplevel = NULL;
}
+ e_canvas_hide_tooltip(canvas);
+
if ((GTK_OBJECT_CLASS (parent_class))->destroy)
(*(GTK_OBJECT_CLASS (parent_class))->destroy) (object);
}