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



commit c1845cd3cad921be786bd014d3b413c4f02ba2ca
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Thu Jan 11 20:01:49 2018 +0200

    Revert "clock: update clock location for API change"
    
    This reverts commit b7bff12bca376a4ae2359b3cba00f693a94ab308.

 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 c3e66d0..41fdc27 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.27.2
+GWEATHER_REQUIRED=3.17.1
 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 25bfc03..bbcb3aa 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);
+       priv->weather_info = gweather_info_new (priv->loc, GWEATHER_FORECAST_LIST);
 
        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]