diff options
author | Kristian Rietveld <kris@gtk.org> | 2002-06-13 14:32:57 +0000 |
---|---|---|
committer | Kristian Rietveld <kristian@src.gnome.org> | 2002-06-13 14:32:57 +0000 |
commit | 325e571a3f8b253edd32bc6fcb841d853c9e18d0 (patch) | |
tree | 822a0026f951ac2f5c98ffe4b4d6ca3d46bfce2e /gtk | |
parent | bc79c6274151ecf561ac0b2691d9724f39e2045b (diff) | |
download | gdk-pixbuf-325e571a3f8b253edd32bc6fcb841d853c9e18d0.tar.gz |
traverse all nodes, not just the leafs (pointed out by Josh Parsons)
Thu Jun 13 16:42:40 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreestore.c (gtk_tree_store_finalize): traverse all nodes,
not just the leafs (pointed out by Josh Parsons)
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtktreestore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktreestore.c b/gtk/gtktreestore.c index 31c5c55aa..579c8f394 100644 --- a/gtk/gtktreestore.c +++ b/gtk/gtktreestore.c @@ -444,7 +444,7 @@ gtk_tree_store_finalize (GObject *object) { GtkTreeStore *tree_store = GTK_TREE_STORE (object); - g_node_children_foreach (tree_store->root, G_TRAVERSE_LEAFS, node_free, tree_store->column_headers); + g_node_children_foreach (tree_store->root, G_TRAVERSE_ALL, node_free, tree_store->column_headers); _gtk_tree_data_list_header_free (tree_store->sort_list); g_free (tree_store->column_headers); |