mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Make sure we always update the virtual root, also when ->priv->root is
2006-02-21 Kristian Rietveld <kris@imendio.com> * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_rows_reordered): Make sure we always update the virtual root, also when ->priv->root is still NULL. (Markku Vire)
This commit is contained in:
parent
77ae64b8ab
commit
e3880748da
@ -1,3 +1,9 @@
|
||||
2006-02-21 Kristian Rietveld <kris@imendio.com>
|
||||
|
||||
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_rows_reordered):
|
||||
Make sure we always update the virtual root, also when ->priv->root
|
||||
is still NULL. (Markku Vire)
|
||||
|
||||
2006-02-21 Anders Carlsson <andersca@imendio.com>
|
||||
|
||||
* gdk/quartz/gdkselection-quartz.c:
|
||||
|
@ -1,3 +1,9 @@
|
||||
2006-02-21 Kristian Rietveld <kris@imendio.com>
|
||||
|
||||
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_rows_reordered):
|
||||
Make sure we always update the virtual root, also when ->priv->root
|
||||
is still NULL. (Markku Vire)
|
||||
|
||||
2006-02-21 Anders Carlsson <andersca@imendio.com>
|
||||
|
||||
* gdk/quartz/gdkselection-quartz.c:
|
||||
|
@ -1910,9 +1910,6 @@ gtk_tree_model_filter_rows_reordered (GtkTreeModel *c_model,
|
||||
|
||||
if (c_path == NULL || gtk_tree_path_get_indices (c_path) == NULL)
|
||||
{
|
||||
if (!filter->priv->root)
|
||||
return;
|
||||
|
||||
length = gtk_tree_model_iter_n_children (c_model, NULL);
|
||||
|
||||
if (filter->priv->virtual_root)
|
||||
@ -2009,7 +2006,7 @@ gtk_tree_model_filter_rows_reordered (GtkTreeModel *c_model,
|
||||
}
|
||||
}
|
||||
|
||||
if (level->array->len < 1)
|
||||
if (!level || level->array->len < 1)
|
||||
{
|
||||
gtk_tree_path_free (path);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user