forked from AuroraMiddleware/gtk
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:
parent
461803e407
commit
754bf5e3d8
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user