summaryrefslogtreecommitdiff
path: root/libmateweather/weather.c
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-07-03 19:07:21 +0800
committerraveit65 <[email protected]>2019-07-10 15:51:13 +0200
commit4cad2cfe818be68e2eb3ef038ab6177cf2fa0bc4 (patch)
tree1ed08d4b7f35c89811049676cc820b7057e9fe4d /libmateweather/weather.c
parentac597d28e36a87a987537787b88775a5161646e7 (diff)
downloadlibmateweather-4cad2cfe818be68e2eb3ef038ab6177cf2fa0bc4.tar.bz2
libmateweather-4cad2cfe818be68e2eb3ef038ab6177cf2fa0bc4.tar.xz
avoid deprecated soup_session_async_new
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 20c46e9..1e9c7da 100644
--- a/libmateweather/weather.c
+++ b/libmateweather/weather.c
@@ -552,7 +552,7 @@ _weather_info_fill (WeatherInfo *info,
info->cb_data = data;
if (!info->session) {
- info->session = soup_session_async_new ();
+ info->session = soup_session_new ();
soup_session_add_feature_by_type (info->session, SOUP_TYPE_PROXY_RESOLVER_DEFAULT);
}