mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
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)
This commit is contained in:
parent
09239601fd
commit
9eb636fe12
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -1,3 +1,9 @@
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user