[evolution-data-server] Revert "Update weather source for API change"



commit 02a9138edcb0d190c89740528ee45cea96d14371
Author: Milan Crha <mcrha redhat com>
Date:   Mon Dec 11 10:16:47 2017 +0100

    Revert "Update weather source for API change"
    
    This reverts commit 730b4fdb1678bc3a030e78a38e6f0ffa728dad81.

 CMakeLists.txt                                   |    2 +-
 src/calendar/backends/weather/e-weather-source.c |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7b78d76..e6f396c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -114,7 +114,7 @@ set(sqlite_minimum_version 3.7.17)
 
 # Optional Packages
 set(goa_minimum_version 3.8)
-set(gweather_minimum_version 3.27.2)
+set(gweather_minimum_version 3.10)
 set(libaccounts_glib_minimum_version 1.4)
 set(libsignon_glib_minimum_version 1.8)
 set(json_glib_minimum_version 1.0.4)
diff --git a/src/calendar/backends/weather/e-weather-source.c 
b/src/calendar/backends/weather/e-weather-source.c
index 3cee681..340aa6e 100644
--- a/src/calendar/backends/weather/e-weather-source.c
+++ b/src/calendar/backends/weather/e-weather-source.c
@@ -185,7 +185,8 @@ e_weather_source_parse (EWeatherSource *source,
 
        if (source->priv->info == NULL) {
                source->priv->info = gweather_info_new (
-                       source->priv->location);
+                       source->priv->location,
+                       GWEATHER_FORECAST_LIST);
                gweather_info_set_enabled_providers (source->priv->info, GWEATHER_PROVIDER_ALL);
                g_signal_connect (
                        source->priv->info, "updated",


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