tests: Use boxes instead of vboxes

This commit is contained in:
Matthias Clasen 2011-06-07 18:39:15 -04:00
parent 611b0767c0
commit 682296391f
3 changed files with 5 additions and 3 deletions

View File

@ -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,

View File

@ -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);

View File

@ -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);