[gnome-clocks/wip/cityimages] Do not need to uppercase country code anymore, fixed in # 707792



commit 0a934a9b7be284a101bc9a9f40f26f8dfb71c640
Author: Evgeny Bobkin <evgen ibqn gmail com>
Date:   Thu Sep 19 09:15:43 2013 +0200

    Do not need to uppercase country code anymore, fixed in # 707792

 configure.ac       |    2 +-
 src/geocoding.vala |    3 ---
 2 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 4a4387b..298d8e6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -56,7 +56,7 @@ PKG_CHECK_MODULES(CLOCKS, [
     gweather-3.0 >= 3.9.91
     gnome-desktop-3.0 >= 3.7.90
     libnotify >= 0.7.0
-    geocode-glib-1.0 >= 0.99.3
+    geocode-glib-1.0 >= 0.99.4
     geoclue-2.0 >= 1.99.3
     json-glib-1.0
     libsoup-2.4
diff --git a/src/geocoding.vala b/src/geocoding.vala
index ffec2e7..0f8d71a 100644
--- a/src/geocoding.vala
+++ b/src/geocoding.vala
@@ -132,9 +132,6 @@ public class Info : Object {
             Geocode.Place place = yield reverse.resolve_async ();
 
             country_code = place.get_country_code ();
-
-            // Reverse geocoding returns country code which is not uppercased
-            country_code = country_code.up ();
         } catch (Error e) {
             warning ("Failed to obtain country code: %s", e.message);
         }



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