tests: Don't add wigets to a GtkInvisible

It's not a GtkContainer.
This commit is contained in:
Timm Bäder 2016-10-30 15:36:26 +01:00
parent 6488dde4fd
commit 3ae14630a3

View File

@ -192,7 +192,8 @@ test_row_separator_height (void)
gtk_list_store_insert_with_values (store, &iter, 3, 0, "Row content", -1);
gtk_list_store_insert_with_values (store, &iter, 4, 0, "Row content", -1);
window = gtk_invisible_new ();
/*window = gtk_invisible_new ();*/
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
tree_view = gtk_tree_view_new_with_model (GTK_TREE_MODEL (store));
gtk_tree_view_set_row_separator_func (GTK_TREE_VIEW (tree_view),