tests: gtk_box_new() is 3.0 API, use gtk_vbox_new() instead

This commit is contained in:
Michael Natterer 2010-05-30 15:34:27 +02:00
parent 4451536712
commit 7cfdf8fa32

View File

@ -231,7 +231,7 @@ main (int argc, char *argv[])
gtk_init (&argc, &argv);
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, 0);
vbox = gtk_vbox_new (FALSE, 0);
gtk_container_add (GTK_CONTAINER (window), vbox);
views.header1 = g_object_new (GTK_TYPE_LABEL,