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



commit 0e12eaafb931accc2401bcc420fe6b2615adc561
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 3d9e291..f5f0b88 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
 ])
 
diff --git a/src/geocoding.vala b/src/geocoding.vala
index 99b6967..02e1824 100644
--- a/src/geocoding.vala
+++ b/src/geocoding.vala
@@ -136,9 +136,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]