diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-10-30 05:00:32 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-10-30 05:22:58 +0200 |
commit | a9894d4cf48e04dcb89043b425be07870ad7c496 (patch) | |
tree | e375b4a784feea7eb7815ecb2c69443e8eaef55a /demos/gtk-demo/stock_browser.c | |
parent | b2207f6730137f5167b39d6c686a905ba2f532ab (diff) | |
download | gtk+-a9894d4cf48e04dcb89043b425be07870ad7c496.tar.gz |
Use gtk_box_new() instead gtk_[v|h]box_new()
Diffstat (limited to 'demos/gtk-demo/stock_browser.c')
-rw-r--r-- | demos/gtk-demo/stock_browser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/gtk-demo/stock_browser.c b/demos/gtk-demo/stock_browser.c index 3dc71dded1..583fa91555 100644 --- a/demos/gtk-demo/stock_browser.c +++ b/demos/gtk-demo/stock_browser.c @@ -417,7 +417,7 @@ do_stock_browser (GtkWidget *do_widget) g_signal_connect (window, "destroy", G_CALLBACK (gtk_widget_destroyed), &window); gtk_container_set_border_width (GTK_CONTAINER (window), 8); - hbox = gtk_hbox_new (FALSE, 8); + hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, FALSE, 8); gtk_container_add (GTK_CONTAINER (window), hbox); sw = gtk_scrolled_window_new (NULL, NULL); @@ -486,7 +486,7 @@ do_stock_browser (GtkWidget *do_widget) frame = gtk_frame_new ("Selected Item"); gtk_container_add (GTK_CONTAINER (align), frame); - vbox = gtk_vbox_new (FALSE, 8); + vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, 8); gtk_container_set_border_width (GTK_CONTAINER (vbox), 4); gtk_container_add (GTK_CONTAINER (frame), vbox); |