aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@helixcode.com>2000-08-09 14:33:46 +0800
committerMiguel de Icaza <miguel@src.gnome.org>2000-08-09 14:33:46 +0800
commit92a068467bbf221cb0fcd0a08c647ed4590efee6 (patch)
tree18bb3beee00b41d9171c75d26a6e5887cc6752d1 /widgets
parente2ad42ace22072585464100751aa299c246dc274 (diff)
downloadgsoc2013-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.c5
-rw-r--r--widgets/table/e-tree-model.c5
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*