From 2bbaae24e99f77561d21d1e3cd7e23853f557825 Mon Sep 17 00:00:00 2001 From: Kaushal Kumar Date: Wed, 1 Jun 2005 03:56:13 +0000 Subject: Don't hide the tooltip if we don't have a canvas anymore. Patch by: Not 2005-06-01 Kaushal Kumar * e-table-item.c (eti_dispose): Don't hide the tooltip if we don't have a canvas anymore. Patch by: Not Zed svn path=/trunk/; revision=29436 --- widgets/table/e-table-item.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c index 87ca7432dc..e42452e6a5 100644 --- a/widgets/table/e-table-item.c +++ b/widgets/table/e-table-item.c @@ -1433,7 +1433,9 @@ eti_dispose (GObject *object) g_free (eti->height_cache); eti->height_cache = NULL; - e_canvas_hide_tooltip (E_CANVAS(GNOME_CANVAS_ITEM(eti)->canvas)); + if (E_CANVAS(GNOME_CANVAS_ITEM(eti)->canvas)) + e_canvas_hide_tooltip (E_CANVAS(GNOME_CANVAS_ITEM(eti)->canvas)); + if (eti->tooltip) { if (eti->tooltip->background) gdk_color_free (eti->tooltip->background); -- cgit v1.2.3