summaryrefslogtreecommitdiff
path: root/libmateweather/weather.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-08-04 13:49:57 +0200
committerinfirit <[email protected]>2015-08-04 13:49:57 +0200
commita68b4d91372aa67ab16d5f619b251d72cb09652a (patch)
tree5aed412a58c505982fc562f07cadfb31cc06e46c /libmateweather/weather.c
parentf1b167ac1561def41dcea25cbd39100049d436c2 (diff)
downloadlibmateweather-a68b4d91372aa67ab16d5f619b251d72cb09652a.tar.bz2
libmateweather-a68b4d91372aa67ab16d5f619b251d72cb09652a.tar.xz
Use the new SoupSession object
This should, according to the docs retrieve a GProxyResolver. This requires version 2.42
Diffstat (limited to 'libmateweather/weather.c')
-rw-r--r--libmateweather/weather.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libmateweather/weather.c b/libmateweather/weather.c
index 7e61b42..59d9f0e 100644
--- a/libmateweather/weather.c
+++ b/libmateweather/weather.c
@@ -553,8 +553,7 @@ _weather_info_fill (WeatherInfo *info,
info->cb_data = data;
if (!info->session) {
- info->session = soup_session_async_new ();
- soup_session_add_feature_by_type (info->session, SOUP_TYPE_PROXY_RESOLVER_DEFAULT);
+ info->session = soup_session_new ();
}
metar_start_open (info);