From a8da23bc71c2b851d96baacd8fc1b7d9fde3c1c4 Mon Sep 17 00:00:00 2001 From: infirit Date: Wed, 5 Aug 2015 14:04:57 +0200 Subject: Revert "Use the new SoupSession object" This reverts commit a68b4d91372aa67ab16d5f619b251d72cb09652a. --- configure.ac | 2 +- libmateweather/weather.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 948e939..2eccd10 100644 --- a/configure.ac +++ b/configure.ac @@ -51,7 +51,7 @@ esac AC_SUBST(GTK_API_VERSION) GLIB_REQUIRED=2.36.0 -LIBSOUP_REQUIRED=2.42.0 +LIBSOUP_REQUIRED=2.34.0 GIO_REQUIRED=2.25.0 LIBXML_REQUIRED=2.6.0 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); -- cgit v1.2.1