Commit 33cddd12 authored by Kristian Rietveld's avatar Kristian Rietveld Committed by Kristian Rietveld
Browse files

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.
parent 99677a97
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.
......
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:
......
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