testsuite/filtermodel: Remove calls to gtk_widget_realize()

They don't do what they used to do.
This commit is contained in:
Jonas Ådahl 2020-12-07 22:29:51 +01:00
parent d2c95a1b13
commit fea1b151e6

View File

@ -4691,7 +4691,6 @@ specific_append_after_collapse (void)
window = gtk_window_new ();
tree_view = gtk_tree_view_new_with_model (sort);
gtk_window_set_child (GTK_WINDOW (window), tree_view);
gtk_widget_realize (tree_view);
while (g_main_context_pending (NULL))
g_main_context_iteration (NULL, TRUE);
@ -4811,7 +4810,6 @@ specific_sort_filter_remove_node (void)
window = gtk_window_new ();
tree_view = gtk_tree_view_new_with_model (filter);
gtk_window_set_child (GTK_WINDOW (window), tree_view);
gtk_widget_realize (tree_view);
while (g_main_context_pending (NULL))
g_main_context_iteration (NULL, TRUE);