From 325e571a3f8b253edd32bc6fcb841d853c9e18d0 Mon Sep 17 00:00:00 2001 From: Kristian Rietveld Date: Thu, 13 Jun 2002 14:32:57 +0000 Subject: [PATCH] traverse all nodes, not just the leafs (pointed out by Josh Parsons) Thu Jun 13 16:42:40 2002 Kristian Rietveld * gtk/gtktreestore.c (gtk_tree_store_finalize): traverse all nodes, not just the leafs (pointed out by Josh Parsons) --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-2 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gtk/gtktreestore.c | 2 +- 7 files changed, 31 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0c55d8d601..6012ab2643 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Jun 13 16:42:40 2002 Kristian Rietveld + + * gtk/gtktreestore.c (gtk_tree_store_finalize): traverse all nodes, + not just the leafs (pointed out by Josh Parsons) + 2002-06-12 Havoc Pennington * configure.in: check that pango has Xft2 support, instead of diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 0c55d8d601..6012ab2643 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Thu Jun 13 16:42:40 2002 Kristian Rietveld + + * gtk/gtktreestore.c (gtk_tree_store_finalize): traverse all nodes, + not just the leafs (pointed out by Josh Parsons) + 2002-06-12 Havoc Pennington * configure.in: check that pango has Xft2 support, instead of diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 0c55d8d601..6012ab2643 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +Thu Jun 13 16:42:40 2002 Kristian Rietveld + + * gtk/gtktreestore.c (gtk_tree_store_finalize): traverse all nodes, + not just the leafs (pointed out by Josh Parsons) + 2002-06-12 Havoc Pennington * configure.in: check that pango has Xft2 support, instead of diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 0c55d8d601..6012ab2643 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +Thu Jun 13 16:42:40 2002 Kristian Rietveld + + * gtk/gtktreestore.c (gtk_tree_store_finalize): traverse all nodes, + not just the leafs (pointed out by Josh Parsons) + 2002-06-12 Havoc Pennington * configure.in: check that pango has Xft2 support, instead of diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 0c55d8d601..6012ab2643 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Thu Jun 13 16:42:40 2002 Kristian Rietveld + + * gtk/gtktreestore.c (gtk_tree_store_finalize): traverse all nodes, + not just the leafs (pointed out by Josh Parsons) + 2002-06-12 Havoc Pennington * configure.in: check that pango has Xft2 support, instead of diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 0c55d8d601..6012ab2643 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Thu Jun 13 16:42:40 2002 Kristian Rietveld + + * gtk/gtktreestore.c (gtk_tree_store_finalize): traverse all nodes, + not just the leafs (pointed out by Josh Parsons) + 2002-06-12 Havoc Pennington * configure.in: check that pango has Xft2 support, instead of diff --git a/gtk/gtktreestore.c b/gtk/gtktreestore.c index 31c5c55aac..579c8f3946 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);