remove infinite loop caused by not clearing the scroll_to_path.

Thu Apr 17 09:57:44 2003  Jonathan Blandford  <jrb@gnome.org>

        * gtk/gtktreeview.c (validate_visible_area): remove infinite loop
        caused by not clearing the scroll_to_path.
This commit is contained in:
Jonathan Blandford
2003-04-17 14:00:45 +00:00
committed by Jonathan Blandford
parent 59bd288630
commit 331b692e05
6 changed files with 26 additions and 2 deletions

View File

@ -4262,8 +4262,7 @@ validate_visible_area (GtkTreeView *tree_view)
need_redraw = TRUE;
}
if (tree_view->priv->scroll_to_path &&
! GTK_RBNODE_FLAG_SET (tree_view->priv->tree->root, GTK_RBNODE_DESCENDANTS_INVALID))
if (tree_view->priv->scroll_to_path)
{
gtk_tree_row_reference_free (tree_view->priv->scroll_to_path);
tree_view->priv->scroll_to_path = NULL;