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:

committed by
Kaushal Kumar

parent
5c9d3a0ef5
commit
2bbaae24e9
@ -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);
|
||||
|
Reference in New Issue
Block a user