[gtk+] treeview: Run unref helper for all rows
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] treeview: Run unref helper for all rows
- Date: Fri, 16 Dec 2011 12:40:01 +0000 (UTC)
commit d78971b31d278800ce996e44797705e72d36725a
Author: Benjamin Otte <otte redhat com>
Date: Fri Dec 16 11:43:16 2011 +0100
treeview: Run unref helper for all rows
Don't do shortcuts. Because all rows need to be unreffed.
Introduced in 92929b968bd479e237b8f6dc1686ca953f4d8c5d.
gtk/gtktreeview.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index 42e616c..1398ddb 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -9638,7 +9638,7 @@ gtk_tree_view_unref_tree_helper (GtkTreeModel *model,
if (!gtk_tree_model_iter_children (model, &child, iter))
return FALSE;
- retval = retval || gtk_tree_view_unref_tree_helper (model, &child, new_tree, new_node);
+ retval = gtk_tree_view_unref_tree_helper (model, &child, new_tree, new_node) | retval;
}
if (GTK_RBNODE_FLAG_SET (node, GTK_RBNODE_IS_SELECTED))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]