Commit 68229639 authored by Matthias Clasen's avatar Matthias Clasen

tests: Use boxes instead of vboxes

parent 611b0767
......@@ -9498,9 +9498,10 @@ create_idle_test (GtkWidget *widget)
"parent", content_area,
NULL);
box =
g_object_new (GTK_TYPE_VBOX,
g_object_new (GTK_TYPE_BOX,
"visible", TRUE,
"parent", frame,
"orientation", GTK_ORIENTATION_VERTICAL,
NULL);
button =
g_object_connect (g_object_new (GTK_TYPE_RADIO_BUTTON,
......
......@@ -77,8 +77,9 @@ make_selection_dialog (GdkScreen * screen,
content_area = gtk_dialog_get_content_area (GTK_DIALOG (window));
vbox = g_object_new (GTK_TYPE_VBOX,
vbox = g_object_new (GTK_TYPE_BOX,
"border_width", 5,
"orientation", GTK_ORIENTATION_VERTICAL,
NULL);
gtk_box_pack_start (GTK_BOX (content_area), vbox, FALSE, FALSE, 0);
......
......@@ -51,7 +51,7 @@ show_hide (GtkWidget * button, gpointer data)
}
static void
move (GtkWidget *button, GtkVBox *vbox)
move (GtkWidget *button, GtkBox *vbox)
{
GdkScreen *screen = gtk_widget_get_screen (button);
GtkWidget *toplevel = gtk_widget_get_toplevel (button);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment