diff options
author | Miguel de Icaza <miguel@helixcode.com> | 2000-08-09 14:33:46 +0800 |
---|---|---|
committer | Miguel de Icaza <miguel@src.gnome.org> | 2000-08-09 14:33:46 +0800 |
commit | 92a068467bbf221cb0fcd0a08c647ed4590efee6 (patch) | |
tree | 18bb3beee00b41d9171c75d26a6e5887cc6752d1 /widgets | |
parent | e2ad42ace22072585464100751aa299c246dc274 (diff) | |
download | gsoc2013-evolution-92a068467bbf221cb0fcd0a08c647ed4590efee6.tar gsoc2013-evolution-92a068467bbf221cb0fcd0a08c647ed4590efee6.tar.gz gsoc2013-evolution-92a068467bbf221cb0fcd0a08c647ed4590efee6.tar.bz2 gsoc2013-evolution-92a068467bbf221cb0fcd0a08c647ed4590efee6.tar.lz gsoc2013-evolution-92a068467bbf221cb0fcd0a08c647ed4590efee6.tar.xz gsoc2013-evolution-92a068467bbf221cb0fcd0a08c647ed4590efee6.tar.zst gsoc2013-evolution-92a068467bbf221cb0fcd0a08c647ed4590efee6.zip |
Call our parent's destroy method.
2000-07-18 Miguel de Icaza <miguel@helixcode.com>
* e-tree-model.c (etree_destroy): Call our parent's destroy
method.
svn path=/trunk/; revision=4643
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/e-table/e-tree-model.c | 5 | ||||
-rw-r--r-- | widgets/table/e-tree-model.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/widgets/e-table/e-tree-model.c b/widgets/e-table/e-tree-model.c index dba9c27deb..fefe6c68da 100644 --- a/widgets/e-table/e-tree-model.c +++ b/widgets/e-table/e-tree-model.c @@ -43,7 +43,12 @@ static void add_visible_descendents_to_array (ETreeModel *etm, GNode *gnode, int static void etree_destroy (GtkObject *object) { + ETreeModel *etree = E_TREE_MODEL (object); + /* XXX lots of stuff to free here */ + g_array_free (etree->row_array, TRUE); + + GTK_OBJECT_CLASS (e_tree_model_parent_class)->destroy (object); } static ETreePath* diff --git a/widgets/table/e-tree-model.c b/widgets/table/e-tree-model.c index dba9c27deb..fefe6c68da 100644 --- a/widgets/table/e-tree-model.c +++ b/widgets/table/e-tree-model.c @@ -43,7 +43,12 @@ static void add_visible_descendents_to_array (ETreeModel *etm, GNode *gnode, int static void etree_destroy (GtkObject *object) { + ETreeModel *etree = E_TREE_MODEL (object); + /* XXX lots of stuff to free here */ + g_array_free (etree->row_array, TRUE); + + GTK_OBJECT_CLASS (e_tree_model_parent_class)->destroy (object); } static ETreePath* |