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:
committed by
Jonathan Blandford
parent
59bd288630
commit
331b692e05
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user