treeview: Run unref helper for all rows

Don't do shortcuts. Because all rows need to be unreffed.
Introduced in 92929b968b.
This commit is contained in:
Benjamin Otte 2011-12-16 11:43:16 +01:00
parent afa945f480
commit d78971b31d

View File

@ -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))