Fix up builder test
Dialogs now report two children. Thats alright, adapt the test to deal with it.
This commit is contained in:
parent
2ffeb591b1
commit
8520282f75
@ -1028,7 +1028,7 @@ test_children (void)
|
||||
g_assert (dialog != NULL);
|
||||
g_assert (GTK_IS_DIALOG (dialog));
|
||||
children = gtk_container_get_children (GTK_CONTAINER (dialog));
|
||||
g_assert (g_list_length (children) == 1);
|
||||
g_assert (g_list_length (children) == 2);
|
||||
g_list_free (children);
|
||||
|
||||
vbox = gtk_builder_get_object (builder, "dialog1-vbox");
|
||||
|
Loading…
Reference in New Issue
Block a user