mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-16 23:24:16 +00:00
treemodelfilter: bgo#658696- Crash when inserting new node
This commit is contained in:
parent
0ab9766253
commit
35eb92138a
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user