]> Pileus Git - ~andy/gtk/blobdiff - tests/testtooltips.c
Use gtk_box_new() instead gtk_[v|h]box_new()
[~andy/gtk] / tests / testtooltips.c
index 4c178467977d7703656ea04f34d46d5b6ba48fbc..5ec25abfcd44eb9dd6a420dfcca6319bddb1f868 100644 (file)
@@ -275,7 +275,7 @@ main (int argc, char *argv[])
   g_signal_connect (window, "delete_event",
                    G_CALLBACK (gtk_main_quit), NULL);
 
-  box = gtk_vbox_new (FALSE, 3);
+  box = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, 3);
   gtk_container_add (GTK_CONTAINER (window), box);
 
   /* A check button using the tooltip-markup property */