Commit 9eb636fe authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Don't emit a warning if a parent node is filtered out. (#164726, Olivier

2005-02-24  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed):
	Don't emit a warning if a parent node is filtered out. (#164726,
	Olivier Sessink)
parent 09239601
2005-02-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed):
Don't emit a warning if a parent node is filtered out. (#164726,
Olivier Sessink)
2005-02-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklabel.c (gtk_label_style_set): Revert the last
......
2005-02-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed):
Don't emit a warning if a parent node is filtered out. (#164726,
Olivier Sessink)
2005-02-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklabel.c (gtk_label_style_set): Revert the last
......
2005-02-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed):
Don't emit a warning if a parent node is filtered out. (#164726,
Olivier Sessink)
2005-02-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklabel.c (gtk_label_style_set): Revert the last
......
......@@ -1132,15 +1132,18 @@ gtk_tree_model_filter_row_changed (GtkTreeModel *c_model,
}
}
gtk_tree_model_filter_increment_stamp (filter);
if (!path)
path = gtk_real_tree_model_filter_convert_child_path_to_path (filter,
c_path,
TRUE,
TRUE);
g_return_if_fail (path != NULL);
if (!path)
/* parent is probably being filtered out */
goto done;
gtk_tree_model_filter_increment_stamp (filter);
gtk_tree_model_get_iter (GTK_TREE_MODEL (filter), &iter, path);
level = FILTER_LEVEL (iter.user_data);
......
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