mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
set tmpnode to the return value of the _gtk_rbtree_insert* functions,
2006-05-02 Kristian Rietveld <kris@imendio.com> * gtk/gtktreeview.c (gtk_tree_view_row_inserted): set tmpnode to the return value of the _gtk_rbtree_insert* functions, since that is the node we really want to check for visibilty.
This commit is contained in:
parent
99677a97ee
commit
33cddd12d7
@ -1,3 +1,9 @@
|
||||
2006-05-02 Kristian Rietveld <kris@imendio.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_row_inserted): set tmpnode to
|
||||
the return value of the _gtk_rbtree_insert* functions, since that
|
||||
is the node we really want to check for visibilty.
|
||||
|
||||
2006-05-02 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkprinter.[hc]: Don't use virtual as a parameter name.
|
||||
|
@ -1,3 +1,9 @@
|
||||
2006-05-02 Kristian Rietveld <kris@imendio.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_row_inserted): set tmpnode to
|
||||
the return value of the _gtk_rbtree_insert* functions, since that
|
||||
is the node we really want to check for visibilty.
|
||||
|
||||
2006-05-02 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkprinter.[hc]: Don't use virtual as a parameter name.
|
||||
|
@ -7521,12 +7521,12 @@ gtk_tree_view_row_inserted (GtkTreeModel *model,
|
||||
if (indices[depth - 1] == 0)
|
||||
{
|
||||
tmpnode = _gtk_rbtree_find_count (tree, 1);
|
||||
_gtk_rbtree_insert_before (tree, tmpnode, height, FALSE);
|
||||
tmpnode = _gtk_rbtree_insert_before (tree, tmpnode, height, FALSE);
|
||||
}
|
||||
else
|
||||
{
|
||||
tmpnode = _gtk_rbtree_find_count (tree, indices[depth - 1]);
|
||||
_gtk_rbtree_insert_after (tree, tmpnode, height, FALSE);
|
||||
tmpnode = _gtk_rbtree_insert_after (tree, tmpnode, height, FALSE);
|
||||
}
|
||||
|
||||
done:
|
||||
|
Loading…
Reference in New Issue
Block a user