summaryrefslogtreecommitdiff
path: root/libmateweather
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-08-05 14:04:57 +0200
committerinfirit <[email protected]>2015-08-05 14:04:57 +0200
commita8da23bc71c2b851d96baacd8fc1b7d9fde3c1c4 (patch)
treecb02bca6d32963fb29338161bf26a60b5829029f /libmateweather
parentf4a2f81a106a628125de2e3a11493e582d215241 (diff)
downloadlibmateweather-a8da23bc71c2b851d96baacd8fc1b7d9fde3c1c4.tar.bz2
libmateweather-a8da23bc71c2b851d96baacd8fc1b7d9fde3c1c4.tar.xz
Revert "Use the new SoupSession object"
This reverts commit a68b4d91372aa67ab16d5f619b251d72cb09652a.
Diffstat (limited to 'libmateweather')
-rw-r--r--libmateweather/weather.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libmateweather/weather.c b/libmateweather/weather.c
index 59d9f0e..7e61b42 100644
--- a/libmateweather/weather.c
+++ b/libmateweather/weather.c
@@ -553,7 +553,8 @@ _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);
}
metar_start_open (info);