summaryrefslogtreecommitdiff
path: root/libmateweather/weather.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-01-15 19:25:10 +0100
committerraveit65 <[email protected]>2018-01-25 12:23:55 +0100
commit62e382debdf050f894ae7ef62dc19f16cef6d6ce (patch)
tree68692bbdbd3bc3bdc44c427f2ccf2fa4f8462707 /libmateweather/weather.c
parent67d7908b22a5ab533d29795109c24c36e10d433f (diff)
downloadlibmateweather-62e382debdf050f894ae7ef62dc19f16cef6d6ce.tar.bz2
libmateweather-62e382debdf050f894ae7ef62dc19f16cef6d6ce.tar.xz
Revert "Fix soup_session_async_new () deprecation warning"
This reverts commit 8bb34e9a0ec0198d198903210a1b405cc01a7768. fixes clock-applet crashes https://github.com/mate-desktop/libmateweather/issues/51
Diffstat (limited to 'libmateweather/weather.c')
-rw-r--r--libmateweather/weather.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmateweather/weather.c b/libmateweather/weather.c
index 8ffbfde..04ebf5b 100644
--- a/libmateweather/weather.c
+++ b/libmateweather/weather.c
@@ -557,7 +557,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);
}