]> Pileus Git - ~andy/gtk/blobdiff - examples/statusbar/statusbar.c
Use gtk_box_new() instead gtk_[v|h]box_new()
[~andy/gtk] / examples / statusbar / statusbar.c
index 6e06abb08dc3a3f443dd505f6df8f8429ccfe9d7..bd8d8e2a0b8d63b4bdadec6e9f9b7a1062224490 100644 (file)
@@ -41,7 +41,7 @@ int main( int   argc,
     g_signal_connect (window, "delete-event",
                       G_CALLBACK (exit), NULL);
 
-    vbox = gtk_vbox_new (FALSE, 1);
+    vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, 1);
     gtk_container_add (GTK_CONTAINER (window), vbox);
     gtk_widget_show (vbox);