Commit cfbd862a authored by Cosimo Cecchi's avatar Cosimo Cecchi Committed by Cosimo Cecchi

tests: wait for draw before fetching tree view style

On some slower machines (e.g. an ARM OBS builder), this test is failing
with a race condition where we're trying to fetch the style before it's
parent 6ff19bce
......@@ -211,6 +211,7 @@ test_row_separator_height (void)
gtk_container_add (GTK_CONTAINER (window), tree_view);
gtk_widget_show_all (window);
gtk_test_widget_wait_for_draw (window);
path = gtk_tree_path_new_from_indices (2, -1);
gtk_tree_view_get_background_area (GTK_TREE_VIEW (tree_view),
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