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:
		@ -2640,7 +2640,7 @@ gtk_tree_model_filter_row_deleted (GtkTreeModel *c_model,
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
      if (elt->children)
 | 
					      if (elt->children)
 | 
				
			||||||
        gtk_tree_model_filter_free_level (filter, elt->children,
 | 
					        gtk_tree_model_filter_free_level (filter, elt->children,
 | 
				
			||||||
                                          FALSE, TRUE, FALSE);
 | 
					                                          FALSE, FALSE, FALSE);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      /* remove the row */
 | 
					      /* remove the row */
 | 
				
			||||||
      if (elt->visible_siter)
 | 
					      if (elt->visible_siter)
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user