aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-12-03 12:20:52 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-12-03 12:20:52 +0800
commitd16c201e161dee6c1919ffd2cd6eafe060825fd1 (patch)
treebda0b48f504ac51654f9e5e6c5252480d94097da /widgets
parentcf2028a1ae99e49cb126d5ddb1160c82a8373e1a (diff)
downloadgsoc2013-evolution-d16c201e161dee6c1919ffd2cd6eafe060825fd1.tar.gz
gsoc2013-evolution-d16c201e161dee6c1919ffd2cd6eafe060825fd1.tar.zst
gsoc2013-evolution-d16c201e161dee6c1919ffd2cd6eafe060825fd1.zip
make this a dispose rather than finalise. Crashes on finalise otherwise.
2002-12-03 Not Zed <NotZed@Ximian.com> * e-tree-memory.c (etmm_dispose): make this a dispose rather than finalise. Crashes on finalise otherwise. svn path=/trunk/; revision=18990
Diffstat (limited to 'widgets')
-rw-r--r--widgets/table/e-tree-memory.c6
1 files 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;