mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 23:10:22 +00:00
tests: gtk_box_new() is 3.0 API, use gtk_vbox_new() instead
This commit is contained in:
parent
4451536712
commit
7cfdf8fa32
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user