[gnome-panel] clock: update clock location for API change



commit b7bff12bca376a4ae2359b3cba00f693a94ab308
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Thu Dec 7 12:15:52 2017 +0200

    clock: update clock location for API change
    
    The deprecated argument to gweather_info_new() got dropped.

 configure.ac                   |    2 +-
 modules/clock/clock-location.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index e2b830c..b59a6b9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -113,7 +113,7 @@ LIBGNOME_MENU_REQUIRED=3.7.90
 LIBECAL_REQUIRED=3.5.3
 LIBEDATASERVER_REQUIRED=3.5.3
 CAIRO_REQUIRED=1.0.0
-GWEATHER_REQUIRED=3.17.1
+GWEATHER_REQUIRED=3.27.2
 DCONF_REQUIRED=0.13.4
 XRANDR_REQUIRED=1.3.0
 
diff --git a/modules/clock/clock-location.c b/modules/clock/clock-location.c
index bbcb3aa..25bfc03 100644
--- a/modules/clock/clock-location.c
+++ b/modules/clock/clock-location.c
@@ -477,7 +477,7 @@ setup_weather_updates (ClockLocation *loc)
                priv->weather_timeout = 0;
        }
 
-       priv->weather_info = gweather_info_new (priv->loc, GWEATHER_FORECAST_LIST);
+       priv->weather_info = gweather_info_new (priv->loc);
 
        g_signal_connect (priv->weather_info, "updated",
                          G_CALLBACK (weather_info_updated), loc);


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