diff options
author | Kaushal Kumar <kakumar@novell.com> | 2005-06-01 11:56:13 +0800 |
---|---|---|
committer | Kaushal Kumar <kaushal@src.gnome.org> | 2005-06-01 11:56:13 +0800 |
commit | 2bbaae24e99f77561d21d1e3cd7e23853f557825 (patch) | |
tree | 3333096d6e21d2434ec8048e7866d2ad57c02de3 /widgets | |
parent | 5c9d3a0ef54676acc02d09f031c4b2a1237ca305 (diff) | |
download | gsoc2013-evolution-2bbaae24e99f77561d21d1e3cd7e23853f557825.tar gsoc2013-evolution-2bbaae24e99f77561d21d1e3cd7e23853f557825.tar.gz gsoc2013-evolution-2bbaae24e99f77561d21d1e3cd7e23853f557825.tar.bz2 gsoc2013-evolution-2bbaae24e99f77561d21d1e3cd7e23853f557825.tar.lz gsoc2013-evolution-2bbaae24e99f77561d21d1e3cd7e23853f557825.tar.xz gsoc2013-evolution-2bbaae24e99f77561d21d1e3cd7e23853f557825.tar.zst gsoc2013-evolution-2bbaae24e99f77561d21d1e3cd7e23853f557825.zip |
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
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/table/e-table-item.c | 4 |
1 files changed, 3 insertions, 1 deletions
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); |