forked from AuroraMiddleware/gtk
tests: Fix testappchooser test
Don't assume GtkWindow is a container.
This commit is contained in:
parent
1c03745ee4
commit
31e3c1e362
@ -230,7 +230,7 @@ main (int argc, char **argv)
|
||||
g_signal_connect (open, "clicked",
|
||||
G_CALLBACK (display_dialog), NULL);
|
||||
|
||||
gtk_container_add (GTK_CONTAINER (toplevel), grid);
|
||||
gtk_window_set_child (GTK_WINDOW (toplevel), grid);
|
||||
|
||||
gtk_widget_show (toplevel);
|
||||
g_signal_connect (toplevel, "destroy", G_CALLBACK (quit_cb), &done);
|
||||
|
Loading…
Reference in New Issue
Block a user