diff options
author | Fabiano FidĂȘncio <fidencio@redhat.com> | 2013-11-18 09:29:03 +0100 |
---|---|---|
committer | Fabiano FidĂȘncio <fidencio@redhat.com> | 2013-11-21 09:08:58 +0100 |
commit | 60e1cf16c3986c052867e9b9bcc85e0b1a2b8bc8 (patch) | |
tree | 891d72e56a4dddd4323ce28ffa29ce1dc83c3aed /gdata/gdata-service.c | |
parent | ed79b05977fec7708177c5abfe9a4ee6dab2135b (diff) | |
download | libgdata-60e1cf16c3986c052867e9b9bcc85e0b1a2b8bc8.tar.gz |
core: Fix 'soup_gnome_features_2_26_get_type' is deprecated warning
GNOME 2.26 libsoup's feature was just the GNOME proxy resolver,
which is now provided as default GIO extension point.
More informations can be seen in:
[0]: https://git.gnome.org/browse/libsoup/commit/?id=4ded0924fd82e006f31a8e9089fd297fac15eef9
[1]: https://bugzilla.gnome.org/show_bug.cgi?id=573685
https://bugzilla.gnome.org/show_bug.cgi?id=712565
Diffstat (limited to 'gdata/gdata-service.c')
-rw-r--r-- | gdata/gdata-service.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gdata/gdata-service.c b/gdata/gdata-service.c index ee6f5dec..b752dc28 100644 --- a/gdata/gdata-service.c +++ b/gdata/gdata-service.c @@ -45,7 +45,6 @@ #include <stdarg.h> #ifdef HAVE_GNOME -#include <libsoup/soup-gnome-features.h> #define GCR_API_SUBJECT_TO_CHANGE #include <gcr/gcr-base.h> #endif /* HAVE_GNOME */ @@ -2308,9 +2307,7 @@ _gdata_service_build_session (void) "timeout", 0, NULL); -#ifdef HAVE_GNOME - soup_session_add_feature_by_type (session, SOUP_TYPE_GNOME_FEATURES_2_26); -#endif /* HAVE_GNOME */ + soup_session_add_feature_by_type (session, SOUP_TYPE_PROXY_RESOLVER_DEFAULT); /* Log all libsoup traffic if debugging's turned on */ if (_gdata_service_get_log_level () > GDATA_LOG_MESSAGES) { |