summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2020-06-02 19:53:23 +0200
committerraveit65 <[email protected]>2020-06-05 15:59:21 +0200
commit50aec09eae07b0c43c10d3212a5c0e0590db57b0 (patch)
tree269fc6960d845089becc6b49dc11d3c90d0658bb
parentea13e06563fb5fa53f8a9643156a64825e986acb (diff)
downloadlibmateweather-50aec09eae07b0c43c10d3212a5c0e0590db57b0.tar.bz2
libmateweather-50aec09eae07b0c43c10d3212a5c0e0590db57b0.tar.xz
Revert "avoid deprecated soup_session_async_new"
This reverts commit 4cad2cfe818be68e2eb3ef038ab6177cf2fa0bc4. fixes https://github.com/mate-desktop/libmateweather/issues/75
-rw-r--r--configure.ac2
-rw-r--r--libmateweather/weather.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index cb8a8ef..5bec9c2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@ AC_CANONICAL_HOST
GLIB_REQUIRED=2.56.0
GTK_REQUIRED=3.22.0
-LIBSOUP_REQUIRED=2.54.0
+LIBSOUP_REQUIRED=2.34.0
GIO_REQUIRED=2.25.0
LIBXML_REQUIRED=2.6.0
diff --git a/libmateweather/weather.c b/libmateweather/weather.c
index 0572f2e..50b7f8b 100644
--- a/libmateweather/weather.c
+++ b/libmateweather/weather.c
@@ -553,7 +553,7 @@ _weather_info_fill (WeatherInfo *info,
info->cb_data = data;
if (!info->session) {
- info->session = soup_session_new ();
+ info->session = soup_session_async_new ();
soup_session_add_feature_by_type (info->session, SOUP_TYPE_PROXY_RESOLVER_DEFAULT);
}