From 331b692e05dc26592ce02d234b9daac45e1c8bc6 Mon Sep 17 00:00:00 2001 From: Jonathan Blandford Date: Thu, 17 Apr 2003 14:00:45 +0000 Subject: [PATCH] remove infinite loop caused by not clearing the scroll_to_path. Thu Apr 17 09:57:44 2003 Jonathan Blandford * gtk/gtktreeview.c (validate_visible_area): remove infinite loop caused by not clearing the scroll_to_path. --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gtk/gtktreeview.c | 3 +-- 6 files changed, 26 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a7f651083c..8be5a37d2a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Apr 17 09:57:44 2003 Jonathan Blandford + + * gtk/gtktreeview.c (validate_visible_area): remove infinite loop + caused by not clearing the scroll_to_path. + 2003-04-16 Matthias Clasen * gtk/gtkstyle.c: Doc additions and fixes. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index a7f651083c..8be5a37d2a 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Thu Apr 17 09:57:44 2003 Jonathan Blandford + + * gtk/gtktreeview.c (validate_visible_area): remove infinite loop + caused by not clearing the scroll_to_path. + 2003-04-16 Matthias Clasen * gtk/gtkstyle.c: Doc additions and fixes. diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index a7f651083c..8be5a37d2a 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +Thu Apr 17 09:57:44 2003 Jonathan Blandford + + * gtk/gtktreeview.c (validate_visible_area): remove infinite loop + caused by not clearing the scroll_to_path. + 2003-04-16 Matthias Clasen * gtk/gtkstyle.c: Doc additions and fixes. diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index a7f651083c..8be5a37d2a 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Thu Apr 17 09:57:44 2003 Jonathan Blandford + + * gtk/gtktreeview.c (validate_visible_area): remove infinite loop + caused by not clearing the scroll_to_path. + 2003-04-16 Matthias Clasen * gtk/gtkstyle.c: Doc additions and fixes. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index a7f651083c..8be5a37d2a 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Thu Apr 17 09:57:44 2003 Jonathan Blandford + + * gtk/gtktreeview.c (validate_visible_area): remove infinite loop + caused by not clearing the scroll_to_path. + 2003-04-16 Matthias Clasen * gtk/gtkstyle.c: Doc additions and fixes. diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c index 60e34fa041..53d66c22f4 100644 --- a/gtk/gtktreeview.c +++ b/gtk/gtktreeview.c @@ -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;