diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2016-04-18 18:29:08 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2016-07-19 13:10:28 +0200 |
commit | 8f904a8e2bb38a7bf72245cdf2f1ecad17e9a720 (patch) | |
tree | a873ea9d412bd13dee9a5dac48aaf2206e3f75be /rest | |
parent | 9ed72ed968fee4ca258ac1e376fd84d4595747b0 (diff) | |
download | librest-8f904a8e2bb38a7bf72245cdf2f1ecad17e9a720.tar.gz |
proxy: Remove use of libsoup-gnome
It has been deprecated for a long while, and we were only using it for
proxy support. However, now that we switched to using SoupSession rather
than SoupSession{Sync,Async}, a default proxy resolver will be used, so
we don't need to set it explicitly.
Diffstat (limited to 'rest')
-rw-r--r-- | rest/rest-proxy.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/rest/rest-proxy.c b/rest/rest-proxy.c index ff2b394..a8ace6b 100644 --- a/rest/rest-proxy.c +++ b/rest/rest-proxy.c @@ -24,9 +24,6 @@ #include <string.h> #include <libsoup/soup.h> -#if WITH_GNOME -#include <libsoup/soup-gnome.h> -#endif #include "rest-marshal.h" #include "rest-proxy-auth-private.h" @@ -412,11 +409,6 @@ rest_proxy_init (RestProxy *self) g_object_bind_property (self, "ssl-ca-file", priv->session, "ssl-ca-file", G_BINDING_BIDIRECTIONAL); - -#if WITH_GNOME - soup_session_add_feature_by_type (priv->session, - SOUP_TYPE_PROXY_RESOLVER_GNOME); -#endif } /** |