diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-06-07 18:38:01 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-06-07 18:38:01 -0400 |
commit | 44686b63c3eec11d5528d076dc96afb61389fce2 (patch) | |
tree | 3ce9d215aa6de76eb20c34100c55332ddd900d65 /gtk/gtktestutils.c | |
parent | 453849acf372ac0c49cb4a1e392665e964e74fae (diff) | |
download | gtk+-44686b63c3eec11d5528d076dc96afb61389fce2.tar.gz |
Use boxes instead of vboxes
Diffstat (limited to 'gtk/gtktestutils.c')
-rw-r--r-- | gtk/gtktestutils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtktestutils.c b/gtk/gtktestutils.c index 392d96bab5..8f52e92dc4 100644 --- a/gtk/gtktestutils.c +++ b/gtk/gtktestutils.c @@ -590,7 +590,7 @@ gtk_test_display_button_window (const gchar *window_title, { va_list var_args; GtkWidget *window = gtk_test_create_widget (GTK_TYPE_WINDOW, "title", window_title, NULL); - GtkWidget *vbox = gtk_test_create_widget (GTK_TYPE_VBOX, "parent", window, NULL); + GtkWidget *vbox = gtk_test_create_widget (GTK_TYPE_BOX, "parent", window, "orientation", GTK_ORIENTATION_VERTICAL, NULL); const char *arg1; gtk_test_create_widget (GTK_TYPE_LABEL, "label", dialog_text, "parent", vbox, NULL); g_signal_connect (window, "destroy", G_CALLBACK (try_main_quit), NULL); @@ -630,7 +630,7 @@ gtk_test_create_simple_window (const gchar *window_title, const gchar *dialog_text) { GtkWidget *window = gtk_test_create_widget (GTK_TYPE_WINDOW, "title", window_title, NULL); - GtkWidget *vbox = gtk_test_create_widget (GTK_TYPE_VBOX, "parent", window, NULL); + GtkWidget *vbox = gtk_test_create_widget (GTK_TYPE_BOX, "parent", window, "orientation", GTK_ORIENTATION_VERTICAL, NULL); gtk_test_create_widget (GTK_TYPE_LABEL, "label", dialog_text, "parent", vbox, NULL); g_signal_connect (window, "destroy", G_CALLBACK (try_main_quit), NULL); gtk_widget_show_all (vbox); |