diff options
author | Chris Toshok <toshok@ximian.com> | 2002-12-19 11:22:02 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2002-12-19 11:22:02 +0800 |
commit | f523f2d1539e6a3f54cc9f486f3f9201376d6006 (patch) | |
tree | b9a79daad5f47ba69b5e698882e7e34686691f0c | |
parent | 82a04fbcb419e35c7132ade04c4a688b14c1f8dd (diff) | |
download | gsoc2013-evolution-f523f2d1539e6a3f54cc9f486f3f9201376d6006.tar gsoc2013-evolution-f523f2d1539e6a3f54cc9f486f3f9201376d6006.tar.gz gsoc2013-evolution-f523f2d1539e6a3f54cc9f486f3f9201376d6006.tar.bz2 gsoc2013-evolution-f523f2d1539e6a3f54cc9f486f3f9201376d6006.tar.lz gsoc2013-evolution-f523f2d1539e6a3f54cc9f486f3f9201376d6006.tar.xz gsoc2013-evolution-f523f2d1539e6a3f54cc9f486f3f9201376d6006.tar.zst gsoc2013-evolution-f523f2d1539e6a3f54cc9f486f3f9201376d6006.zip |
free the children before we free and dispose of our ecol, since
2002-12-18 Chris Toshok <toshok@ximian.com>
* e-table-group-container.c (etgc_dispose): free the children
before we free and dispose of our ecol, since
e_table_group_container_child_node_free depends on it. Fixes a
crash.
svn path=/trunk/; revision=19166
-rw-r--r-- | widgets/table/e-table-group-container.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/table/e-table-group-container.c b/widgets/table/e-table-group-container.c index 7b8df0db5b..dedc291a46 100644 --- a/widgets/table/e-table-group-container.c +++ b/widgets/table/e-table-group-container.c @@ -107,6 +107,9 @@ etgc_dispose (GObject *object) { ETableGroupContainer *etgc = E_TABLE_GROUP_CONTAINER (object); + if (etgc->children) + e_table_group_container_list_free (etgc); + if (etgc->font) gdk_font_unref (etgc->font); etgc->font = NULL; @@ -127,8 +130,6 @@ etgc_dispose (GObject *object) gtk_object_destroy (GTK_OBJECT(etgc->rect)); etgc->rect = NULL; - e_table_group_container_list_free (etgc); - G_OBJECT_CLASS (etgc_parent_class)->dispose (object); } @@ -432,7 +433,6 @@ create_child_node (ETableGroupContainer *etgc, void *val) NULL); child_node->text = gnome_canvas_item_new (GNOME_CANVAS_GROUP (etgc), e_text_get_type (), - "font_gdk", etgc->font, "anchor", GTK_ANCHOR_SW, "fill_color", "black", "draw_background", FALSE, |