[evolution-data-server] Update weather source for API change
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Update weather source for API change
- Date: Fri, 8 Dec 2017 18:17:45 +0000 (UTC)
commit 730b4fdb1678bc3a030e78a38e6f0ffa728dad81
Author: Bastien Nocera <hadess hadess net>
Date: Thu Dec 7 01:18:59 2017 +0100
Update weather source for API change
The deprecated argument to gweather_info_new() got dropped.
https://bugzilla.gnome.org/show_bug.cgi?id=791327
CMakeLists.txt | 2 +-
src/calendar/backends/weather/e-weather-source.c | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e6f396c..7b78d76 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.10)
+set(gweather_minimum_version 3.27.2)
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 340aa6e..3cee681 100644
--- a/src/calendar/backends/weather/e-weather-source.c
+++ b/src/calendar/backends/weather/e-weather-source.c
@@ -185,8 +185,7 @@ e_weather_source_parse (EWeatherSource *source,
if (source->priv->info == NULL) {
source->priv->info = gweather_info_new (
- source->priv->location,
- GWEATHER_FORECAST_LIST);
+ source->priv->location);
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]