forked from AuroraMiddleware/gtk
Built an iter directly instead of using
2002-05-24 Dave Camp <dave@ximian.com> * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted): Built an iter directly instead of using gtk_tree_model_sort_elt_get_path(), since that returns a path for the child model.
This commit is contained in:
parent
b1db95a6fb
commit
cffb8ea32d
@ -1,3 +1,10 @@
|
||||
2002-05-24 Dave Camp <dave@ximian.com>
|
||||
|
||||
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted):
|
||||
Built an iter directly instead of using
|
||||
gtk_tree_model_sort_elt_get_path(), since that returns a path for
|
||||
the child model.
|
||||
|
||||
2002-05-24 Dave Camp <dave@ximian.com>
|
||||
|
||||
* gtk/gtktreemodelsort.c: Use indices[i] >= level->array->len
|
||||
|
@ -1,3 +1,10 @@
|
||||
2002-05-24 Dave Camp <dave@ximian.com>
|
||||
|
||||
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted):
|
||||
Built an iter directly instead of using
|
||||
gtk_tree_model_sort_elt_get_path(), since that returns a path for
|
||||
the child model.
|
||||
|
||||
2002-05-24 Dave Camp <dave@ximian.com>
|
||||
|
||||
* gtk/gtktreemodelsort.c: Use indices[i] >= level->array->len
|
||||
|
@ -1,3 +1,10 @@
|
||||
2002-05-24 Dave Camp <dave@ximian.com>
|
||||
|
||||
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted):
|
||||
Built an iter directly instead of using
|
||||
gtk_tree_model_sort_elt_get_path(), since that returns a path for
|
||||
the child model.
|
||||
|
||||
2002-05-24 Dave Camp <dave@ximian.com>
|
||||
|
||||
* gtk/gtktreemodelsort.c: Use indices[i] >= level->array->len
|
||||
|
@ -1,3 +1,10 @@
|
||||
2002-05-24 Dave Camp <dave@ximian.com>
|
||||
|
||||
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted):
|
||||
Built an iter directly instead of using
|
||||
gtk_tree_model_sort_elt_get_path(), since that returns a path for
|
||||
the child model.
|
||||
|
||||
2002-05-24 Dave Camp <dave@ximian.com>
|
||||
|
||||
* gtk/gtktreemodelsort.c: Use indices[i] >= level->array->len
|
||||
|
@ -1,3 +1,10 @@
|
||||
2002-05-24 Dave Camp <dave@ximian.com>
|
||||
|
||||
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted):
|
||||
Built an iter directly instead of using
|
||||
gtk_tree_model_sort_elt_get_path(), since that returns a path for
|
||||
the child model.
|
||||
|
||||
2002-05-24 Dave Camp <dave@ximian.com>
|
||||
|
||||
* gtk/gtktreemodelsort.c: Use indices[i] >= level->array->len
|
||||
|
@ -1,3 +1,10 @@
|
||||
2002-05-24 Dave Camp <dave@ximian.com>
|
||||
|
||||
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted):
|
||||
Built an iter directly instead of using
|
||||
gtk_tree_model_sort_elt_get_path(), since that returns a path for
|
||||
the child model.
|
||||
|
||||
2002-05-24 Dave Camp <dave@ximian.com>
|
||||
|
||||
* gtk/gtktreemodelsort.c: Use indices[i] >= level->array->len
|
||||
|
@ -595,11 +595,13 @@ gtk_tree_model_sort_row_inserted (GtkTreeModel *s_model,
|
||||
GtkTreePath *tmppath;
|
||||
GtkTreeIter tmpiter;
|
||||
|
||||
tmppath = gtk_tree_model_sort_elt_get_path (level, elt);
|
||||
tmpiter.stamp = tree_model_sort->stamp;
|
||||
tmpiter.user_data = level;
|
||||
tmpiter.user_data2 = elt;
|
||||
|
||||
tmppath = gtk_tree_model_get_path (GTK_TREE_MODEL (data), &tmpiter);
|
||||
if (tmppath)
|
||||
{
|
||||
gtk_tree_model_get_iter (GTK_TREE_MODEL (data), &tmpiter,
|
||||
tmppath);
|
||||
gtk_tree_model_row_has_child_toggled (GTK_TREE_MODEL (data),
|
||||
tmppath,
|
||||
&tmpiter);
|
||||
|
Loading…
Reference in New Issue
Block a user