treeview: Ensure we first validate the visible area when validating

This invariant stopped being guaranteed when we moved the visible area
validation from a high priority idle to a tick callback.

Fixes redrawing bugs like row expanding sometimes not having any visual
effect.
This commit is contained in:
Benjamin Otte 2013-06-24 20:15:26 +02:00
parent 2008148303
commit 830691bdce

View File

@ -6854,6 +6854,12 @@ validate_rows (GtkTreeView *tree_view)
{
gboolean retval;
if (tree_view->priv->presize_handler_tick_cb)
{
do_presize_handler (tree_view);
return G_SOURCE_CONTINUE;
}
retval = do_validate_rows (tree_view, TRUE);
if (! retval && tree_view->priv->validate_rows_timer)