aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-item.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-02-14 02:39:39 +0800
committerChris Lahey <clahey@src.gnome.org>2001-02-14 02:39:39 +0800
commit9aca6f5902c78f98cda7fe79d699e288c3bc9ad0 (patch)
treefc647b16c70edf6f4dc8433831174a1fe5d0daf7 /widgets/table/e-table-item.c
parent550d31addc0fc87056954185af4975b65ec23e1c (diff)
downloadgsoc2013-evolution-9aca6f5902c78f98cda7fe79d699e288c3bc9ad0.tar.gz
gsoc2013-evolution-9aca6f5902c78f98cda7fe79d699e288c3bc9ad0.tar.zst
gsoc2013-evolution-9aca6f5902c78f98cda7fe79d699e288c3bc9ad0.zip
Fix the crash when ETableItems are destroyed.
2001-02-13 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_destroy): Fix the crash when ETableItems are destroyed. svn path=/trunk/; revision=8207
Diffstat (limited to 'widgets/table/e-table-item.c')
-rw-r--r--widgets/table/e-table-item.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c
index f3f776c2d6..639d8196cf 100644
--- a/widgets/table/e-table-item.c
+++ b/widgets/table/e-table-item.c
@@ -930,7 +930,10 @@ eti_destroy (GtkObject *object)
if (eti->height_cache_idle_id)
g_source_remove(eti->height_cache_idle_id);
- free_height_cache(eti);
+ if (eti->height_cache)
+ g_free (eti->height_cache);
+ eti->height_cache = NULL;
+ eti->height_cache_idle_count = 0;
if (eti->tooltip->window)
gtk_widget_destroy (eti->tooltip->window);