Commit 1e40b8cb authored by Kristian Rietveld's avatar Kristian Rietveld Committed by Kristian Rietveld

convert the iter to a child iter again, after doing _iter_children. It's

Sat Feb  9 22:57:43 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreemodelsort.c (gtk_tree_model_sort_build_level): convert
        the iter to a child iter again, after doing _iter_children. It's
        possible that _iter_children added some rows and updated the stamp.
parent 21083847
Sat Feb 9 22:57:43 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_build_level): convert
the iter to a child iter again, after doing _iter_children. It's
possible that _iter_children added some rows and updated the stamp.
2002-02-09 Daniel Elstner <daniel.elstner@gmx.net> 2002-02-09 Daniel Elstner <daniel.elstner@gmx.net>
* gtk/gtktextchild.c: Use == rather than = in sanity * gtk/gtktextchild.c: Use == rather than = in sanity
......
Sat Feb 9 22:57:43 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_build_level): convert
the iter to a child iter again, after doing _iter_children. It's
possible that _iter_children added some rows and updated the stamp.
2002-02-09 Daniel Elstner <daniel.elstner@gmx.net> 2002-02-09 Daniel Elstner <daniel.elstner@gmx.net>
* gtk/gtktextchild.c: Use == rather than = in sanity * gtk/gtktextchild.c: Use == rather than = in sanity
......
Sat Feb 9 22:57:43 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_build_level): convert
the iter to a child iter again, after doing _iter_children. It's
possible that _iter_children added some rows and updated the stamp.
2002-02-09 Daniel Elstner <daniel.elstner@gmx.net> 2002-02-09 Daniel Elstner <daniel.elstner@gmx.net>
* gtk/gtktextchild.c: Use == rather than = in sanity * gtk/gtktextchild.c: Use == rather than = in sanity
......
Sat Feb 9 22:57:43 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_build_level): convert
the iter to a child iter again, after doing _iter_children. It's
possible that _iter_children added some rows and updated the stamp.
2002-02-09 Daniel Elstner <daniel.elstner@gmx.net> 2002-02-09 Daniel Elstner <daniel.elstner@gmx.net>
* gtk/gtktextchild.c: Use == rather than = in sanity * gtk/gtktextchild.c: Use == rather than = in sanity
......
Sat Feb 9 22:57:43 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_build_level): convert
the iter to a child iter again, after doing _iter_children. It's
possible that _iter_children added some rows and updated the stamp.
2002-02-09 Daniel Elstner <daniel.elstner@gmx.net> 2002-02-09 Daniel Elstner <daniel.elstner@gmx.net>
* gtk/gtktextchild.c: Use == rather than = in sanity * gtk/gtktextchild.c: Use == rather than = in sanity
......
Sat Feb 9 22:57:43 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_build_level): convert
the iter to a child iter again, after doing _iter_children. It's
possible that _iter_children added some rows and updated the stamp.
2002-02-09 Daniel Elstner <daniel.elstner@gmx.net> 2002-02-09 Daniel Elstner <daniel.elstner@gmx.net>
* gtk/gtktextchild.c: Use == rather than = in sanity * gtk/gtktextchild.c: Use == rather than = in sanity
......
Sat Feb 9 22:57:43 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_build_level): convert
the iter to a child iter again, after doing _iter_children. It's
possible that _iter_children added some rows and updated the stamp.
2002-02-09 Daniel Elstner <daniel.elstner@gmx.net> 2002-02-09 Daniel Elstner <daniel.elstner@gmx.net>
* gtk/gtktextchild.c: Use == rather than = in sanity * gtk/gtktextchild.c: Use == rather than = in sanity
......
...@@ -2021,6 +2021,12 @@ gtk_tree_model_sort_build_level (GtkTreeModelSort *tree_model_sort, ...@@ -2021,6 +2021,12 @@ gtk_tree_model_sort_build_level (GtkTreeModelSort *tree_model_sort,
&iter, &iter,
&child_parent_iter) == FALSE) &child_parent_iter) == FALSE)
return; return;
/* stamp may have changed */
gtk_tree_model_sort_convert_iter_to_child_iter (tree_model_sort,
&child_parent_iter,
&parent_iter);
length = gtk_tree_model_iter_n_children (tree_model_sort->child_model, &child_parent_iter); length = gtk_tree_model_iter_n_children (tree_model_sort->child_model, &child_parent_iter);
} }
......
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