treemodelfilter: Don't unref deleted rows

When we're fudging with child nodes of a deleted node, we don't want to
have them delete their parent - which is the deleted row.
This commit is contained in:
Benjamin Otte 2012-03-19 02:24:03 +01:00
parent 461803e407
commit 754bf5e3d8

View File

@ -2640,7 +2640,7 @@ gtk_tree_model_filter_row_deleted (GtkTreeModel *c_model,
if (elt->children)
gtk_tree_model_filter_free_level (filter, elt->children,
FALSE, TRUE, FALSE);
FALSE, FALSE, FALSE);
/* remove the row */
if (elt->visible_siter)