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)
This commit is contained in:
committed by
Kristian Rietveld
parent
bc79c62741
commit
325e571a3f
@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user