summaryrefslogtreecommitdiff
path: root/tests/testgtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testgtk.c')
-rw-r--r--tests/testgtk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c
index 193087613b..956392ae48 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -724,7 +724,7 @@ create_toolbar (void)
gtk_container_set_border_width (GTK_CONTAINER (window), 0);
gtk_widget_realize (window);
- toolbar = gtk_toolbar_new (GTK_ORIENTATION_HORIZONTAL, GTK_TOOLBAR_BOTH);
+ toolbar = gtk_toolbar_new ();
gtk_toolbar_insert_stock (GTK_TOOLBAR (toolbar),
GTK_STOCK_NEW,
@@ -825,7 +825,7 @@ make_toolbar (GtkWidget *window)
if (!GTK_WIDGET_REALIZED (window))
gtk_widget_realize (window);
- toolbar = gtk_toolbar_new (GTK_ORIENTATION_HORIZONTAL, GTK_TOOLBAR_BOTH);
+ toolbar = gtk_toolbar_new ();
gtk_toolbar_append_item (GTK_TOOLBAR (toolbar),
"Horizontal", "Horizontal toolbar layout", NULL,