summaryrefslogtreecommitdiff
path: root/examples/menu/itemfactory.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/menu/itemfactory.c')
-rw-r--r--examples/menu/itemfactory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/menu/itemfactory.c b/examples/menu/itemfactory.c
index 937a665752..26fa257a43 100644
--- a/examples/menu/itemfactory.c
+++ b/examples/menu/itemfactory.c
@@ -150,7 +150,7 @@ int main( int argc,
gtk_widget_set_size_request (GTK_WIDGET(window), 300, 200);
/* Make a vbox to put the three menus in */
- main_vbox = gtk_vbox_new (FALSE, 1);
+ main_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, 1);
gtk_container_set_border_width (GTK_CONTAINER (main_vbox), 1);
gtk_container_add (GTK_CONTAINER (window), main_vbox);