[libgweather] libgweather/test_locations.c: Replace deprecated gtk_vbox_new()



commit 2ff980b327b2f53003d2a8f9863170210a9a55f9
Author: Javier JardÃn <jjardon gnome org>
Date:   Wed Mar 7 17:42:28 2012 +0000

    libgweather/test_locations.c: Replace deprecated gtk_vbox_new()
    
    Use gtk_box_new() instead

 libgweather/test_locations.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgweather/test_locations.c b/libgweather/test_locations.c
index 6053cae..842cb45 100644
--- a/libgweather/test_locations.c
+++ b/libgweather/test_locations.c
@@ -42,7 +42,7 @@ main (int argc, char **argv)
     g_signal_connect (window, "delete-event",
 		      G_CALLBACK (deleted), NULL);
 
-    vbox = gtk_vbox_new (FALSE, 8);
+    vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 8);
     gtk_container_add (GTK_CONTAINER (window), vbox);
 
     loc = gweather_location_new_world (FALSE);



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