[gnome-applets] gweather: don't use deprecated gweather_location_new_world



commit ff49a677e3ff5d454c93066fec0053ee28d6e0f9
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Tue Apr 21 09:42:45 2015 +0300

    gweather: don't use deprecated gweather_location_new_world

 gweather/gweather-xml.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gweather/gweather-xml.c b/gweather/gweather-xml.c
index 36d6cd5..b985d15 100644
--- a/gweather/gweather-xml.c
+++ b/gweather/gweather-xml.c
@@ -148,7 +148,7 @@ gweather_xml_load_locations (void)
     GWeatherLocation *world;
     GtkTreeStore *store;
 
-    world = gweather_location_new_world (TRUE);
+    world = gweather_location_get_world ();
     if (!world)
        return NULL;
 


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