diff options
Diffstat (limited to 'examples/menu')
-rw-r--r-- | examples/menu/itemfactory.c | 2 | ||||
-rw-r--r-- | examples/menu/menu.c | 2 |
2 files changed, 2 insertions, 2 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); diff --git a/examples/menu/menu.c b/examples/menu/menu.c index a52ce69399..f37e4e3e48 100644 --- a/examples/menu/menu.c +++ b/examples/menu/menu.c @@ -72,7 +72,7 @@ int main( int argc, gtk_menu_item_set_submenu (GTK_MENU_ITEM (root_menu), menu); /* A vbox to put a menu and a button in: */ - vbox = gtk_vbox_new (FALSE, 0); + vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, 0); gtk_container_add (GTK_CONTAINER (window), vbox); gtk_widget_show (vbox); |