summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Balneaves <[email protected]>2017-03-29 08:46:33 -0500
committerraveit65 <[email protected]>2017-07-23 14:34:45 +0200
commit8bb34e9a0ec0198d198903210a1b405cc01a7768 (patch)
treee3ac11461c2adf23928530d244547e520d068220
parentfa14c56d3a826d7c1456fd426d0b1757c879dc2a (diff)
downloadlibmateweather-8bb34e9a0ec0198d198903210a1b405cc01a7768.tar.bz2
libmateweather-8bb34e9a0ec0198d198903210a1b405cc01a7768.tar.xz
Fix soup_session_async_new () deprecation warning
-rw-r--r--libmateweather/weather.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmateweather/weather.c b/libmateweather/weather.c
index 04ebf5b..8ffbfde 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_async_new ();
+ info->session = soup_session_new ();
soup_session_add_feature_by_type (info->session, SOUP_TYPE_PROXY_RESOLVER_DEFAULT);
}