[gtk+/gtk-2-16] Bug 588199 - GtkTreeView rendering glitch while using a default ...



commit c845417bf1f885d8b740b354574a2500a21d72a9
Author: Kristian Rietveld <kris gtk org>
Date:   Thu Aug 27 17:31:44 2009 +0200

    Bug 588199 - GtkTreeView rendering glitch while using a default ...
    
    Contrary to what was believed before, do_validate_rows() does need to
    queue a normal resize (including a redraw) when it has to.  The redraw
    is required because of the size of the tree has changed because new
    row(s) have been validated.

 gtk/gtktreeview.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index f22cb2c..3c80f64 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -6240,7 +6240,7 @@ do_validate_rows (GtkTreeView *tree_view, gboolean queue_resize)
       gtk_adjustment_changed (tree_view->priv->vadjustment);
 
       if (queue_resize)
-        gtk_widget_queue_resize_no_redraw (GTK_WIDGET (tree_view));
+        gtk_widget_queue_resize (GTK_WIDGET (tree_view));
     }
 
   if (path) gtk_tree_path_free (path);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]