Commit 4594370b authored by Kristian Rietveld's avatar Kristian Rietveld Committed by Benjamin Otte

treeview: Avoid queueing a redraw in do_validate_rows()

If the changed rows are not visible, we likely do not have to redraw
in conjunction to resize.  Spotted by Benjamin Otte.
parent a5e1337a
......@@ -6764,7 +6764,7 @@ do_validate_rows (GtkTreeView *tree_view, gboolean queue_resize)
MAX (gtk_adjustment_get_upper (tree_view->priv->vadjustment), requisition.height));
if (queue_resize)
gtk_widget_queue_resize (GTK_WIDGET (tree_view));
gtk_widget_queue_resize_no_redraw (GTK_WIDGET (tree_view));
if (path) gtk_tree_path_free (path);
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