diff options
Diffstat (limited to 'demos/gtk-demo/panes.c')
-rw-r--r-- | demos/gtk-demo/panes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/gtk-demo/panes.c b/demos/gtk-demo/panes.c index 3399653d10..fd0822f17a 100644 --- a/demos/gtk-demo/panes.c +++ b/demos/gtk-demo/panes.c @@ -156,11 +156,11 @@ do_panes (GtkWidget *do_widget) vbox = gtk_vbox_new (FALSE, 0); gtk_container_add (GTK_CONTAINER (window), vbox); - vpaned = gtk_vpaned_new (); + vpaned = gtk_paned_new (GTK_ORIENTATION_VERTICAL); gtk_box_pack_start (GTK_BOX (vbox), vpaned, TRUE, TRUE, 0); gtk_container_set_border_width (GTK_CONTAINER(vpaned), 5); - hpaned = gtk_hpaned_new (); + hpaned = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL); gtk_paned_add1 (GTK_PANED (vpaned), hpaned); frame = gtk_frame_new (NULL); |