mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
tests: Fix testfilechooser test
Don't use GtkContainer API on GtkWindow.
This commit is contained in:
parent
466e8a70e5
commit
b2f2b3f169
@ -452,7 +452,7 @@ main (int argc, char **argv)
|
||||
control_window = gtk_window_new ();
|
||||
|
||||
vbbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
|
||||
gtk_container_add (GTK_CONTAINER (control_window), vbbox);
|
||||
gtk_window_set_child (GTK_WINDOW (control_window), vbbox);
|
||||
|
||||
button = gtk_button_new_with_mnemonic ("_Select all");
|
||||
gtk_widget_set_sensitive (button, multiple);
|
||||
|
Loading…
Reference in New Issue
Block a user