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
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user