diff options
Diffstat (limited to 'libmateweather')
-rw-r--r-- | libmateweather/weather-priv.h | 4 | ||||
-rw-r--r-- | libmateweather/weather.c | 4 |
2 files changed, 1 insertions, 7 deletions
diff --git a/libmateweather/weather-priv.h b/libmateweather/weather-priv.h index 39534c7..e602f7b 100644 --- a/libmateweather/weather-priv.h +++ b/libmateweather/weather-priv.h @@ -24,11 +24,7 @@ #include <time.h> #include <libintl.h> #include <math.h> -#ifdef HAVE_LIBSOUP_GNOME -#include <libsoup/soup-gnome.h> -#else #include <libsoup/soup.h> -#endif #include "weather.h" #include "mateweather-location.h" diff --git a/libmateweather/weather.c b/libmateweather/weather.c index e4084ac..d52f711 100644 --- a/libmateweather/weather.c +++ b/libmateweather/weather.c @@ -549,9 +549,7 @@ _weather_info_fill (WeatherInfo *info, if (!info->session) { info->session = soup_session_async_new (); -#ifdef HAVE_LIBSOUP_GNOME - soup_session_add_feature_by_type (info->session, SOUP_TYPE_PROXY_RESOLVER_GNOME); -#endif + soup_session_add_feature_by_type (info->session, SOUP_TYPE_PROXY_RESOLVER_DEFAULT); } metar_start_open (info); |