Commit 35eb9213 authored by Sebastien Granjoux's avatar Sebastien Granjoux Committed by Kristian Rietveld

treemodelfilter: bgo#658696- Crash when inserting new node

parent 0ab97662
......@@ -2279,7 +2279,8 @@ gtk_tree_model_filter_row_inserted (GtkTreeModel *c_model,
}
done:
gtk_tree_model_filter_check_ancestors (filter, real_path);
if (real_path)
gtk_tree_model_filter_check_ancestors (filter, real_path);
if (emit_row_inserted)
gtk_tree_model_filter_emit_row_inserted_for_path (filter, c_model,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment