diff options
Diffstat (limited to 'examples/entry/entry.c')
-rw-r--r-- | examples/entry/entry.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/entry/entry.c b/examples/entry/entry.c index 2d06f7192d..f7c577210d 100644 --- a/examples/entry/entry.c +++ b/examples/entry/entry.c @@ -48,7 +48,7 @@ int main( int argc, G_CALLBACK (gtk_widget_destroy), window); - 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); @@ -65,7 +65,7 @@ int main( int argc, gtk_box_pack_start (GTK_BOX (vbox), entry, TRUE, TRUE, 0); gtk_widget_show (entry); - hbox = gtk_hbox_new (FALSE, 0); + hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, FALSE, 0); gtk_container_add (GTK_CONTAINER (vbox), hbox); gtk_widget_show (hbox); |