Don't hide the tooltip if we don't have a canvas anymore. Patch by: Not

2005-06-01  Kaushal Kumar  <kakumar@novell.com>

        * 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
This commit is contained in:
Kaushal Kumar
2005-06-01 03:56:13 +00:00
committed by Kaushal Kumar
parent 5c9d3a0ef5
commit 2bbaae24e9

View File

@ -1433,7 +1433,9 @@ eti_dispose (GObject *object)
g_free (eti->height_cache); g_free (eti->height_cache);
eti->height_cache = NULL; 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) {
if (eti->tooltip->background) if (eti->tooltip->background)
gdk_color_free (eti->tooltip->background); gdk_color_free (eti->tooltip->background);