From d16c201e161dee6c1919ffd2cd6eafe060825fd1 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Tue, 3 Dec 2002 04:20:52 +0000 Subject: make this a dispose rather than finalise. Crashes on finalise otherwise. 2002-12-03 Not Zed * e-tree-memory.c (etmm_dispose): make this a dispose rather than finalise. Crashes on finalise otherwise. svn path=/trunk/; revision=18990 --- widgets/table/e-tree-memory.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/widgets/table/e-tree-memory.c b/widgets/table/e-tree-memory.c index 5c37e939c8..3f178455df 100644 --- a/widgets/table/e-tree-memory.c +++ b/widgets/table/e-tree-memory.c @@ -210,7 +210,7 @@ e_tree_memory_thaw(ETreeMemory *etmm) /* virtual methods */ static void -etmm_finalize (GObject *object) +etmm_dispose (GObject *object) { ETreeMemory *etmm = E_TREE_MEMORY (object); ETreeMemoryPriv *priv = etmm->priv; @@ -225,7 +225,7 @@ etmm_finalize (GObject *object) } etmm->priv = NULL; - G_OBJECT_CLASS (parent_class)->finalize (object); + G_OBJECT_CLASS (parent_class)->dispose (object); } static ETreePath @@ -368,7 +368,7 @@ e_tree_memory_class_init (ETreeMemoryClass *klass) g_cclosure_marshal_VOID__POINTER, G_TYPE_NONE, 1, G_TYPE_POINTER); - object_class->finalize = etmm_finalize; + object_class->dispose = etmm_dispose; tree_class->get_root = etmm_get_root; tree_class->get_prev = etmm_get_prev; -- cgit