[gtk+/gtk-2-22] tests: gtk_box_new() is 3.0 API, use gtk_vbox_new() instead



commit 7cfdf8fa323c2233c2849f3d917db19287081fd2
Author: Michael Natterer <mitch gimp org>
Date:   Sun May 30 15:34:27 2010 +0200

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

 tests/testiconview-keynav.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/testiconview-keynav.c b/tests/testiconview-keynav.c
index 367a227..081a5da 100644
--- a/tests/testiconview-keynav.c
+++ b/tests/testiconview-keynav.c
@@ -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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]