From 4078a30acd592022aebb1bbfc74cfab9573f3fa1 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Thu, 13 Feb 2014 10:18:36 +0100 Subject: Drop libsoup-gnome dependency --- libmateweather/weather-priv.h | 4 ---- libmateweather/weather.c | 4 +--- 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'libmateweather') 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 #include #include -#ifdef HAVE_LIBSOUP_GNOME -#include -#else #include -#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); -- cgit v1.2.1