summaryrefslogtreecommitdiff
path: root/demos/gtk-demo/entry_buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/gtk-demo/entry_buffer.c')
-rw-r--r--demos/gtk-demo/entry_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/entry_buffer.c b/demos/gtk-demo/entry_buffer.c
index 6c4d34d6f6..a9e775e31b 100644
--- a/demos/gtk-demo/entry_buffer.c
+++ b/demos/gtk-demo/entry_buffer.c
@@ -34,7 +34,7 @@ do_entry_buffer (GtkWidget *do_widget)
content_area = gtk_dialog_get_content_area (GTK_DIALOG (window));
- vbox = gtk_vbox_new (FALSE, 5);
+ vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, 5);
gtk_box_pack_start (GTK_BOX (content_area), vbox, TRUE, TRUE, 0);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 5);