diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-11-27 00:32:29 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-11-27 00:35:28 +0800 |
commit | 99120a0f18a24059004022c1a079e6fc31de3d2a (patch) | |
tree | 82b4465dc385193a8983b7759703b59eb5bb71e0 /modules | |
parent | 60775476f388de2802c13f77540e44988e4c745c (diff) | |
download | gsoc2013-evolution-99120a0f18a24059004022c1a079e6fc31de3d2a.tar gsoc2013-evolution-99120a0f18a24059004022c1a079e6fc31de3d2a.tar.gz gsoc2013-evolution-99120a0f18a24059004022c1a079e6fc31de3d2a.tar.bz2 gsoc2013-evolution-99120a0f18a24059004022c1a079e6fc31de3d2a.tar.lz gsoc2013-evolution-99120a0f18a24059004022c1a079e6fc31de3d2a.tar.xz gsoc2013-evolution-99120a0f18a24059004022c1a079e6fc31de3d2a.tar.zst gsoc2013-evolution-99120a0f18a24059004022c1a079e6fc31de3d2a.zip |
EGravatarPhotoSource: Remove EProxy usage.
EProxy is deprecated. No easy access to ESourceRegistry from which to
grab the "system-proxy" ESource, so just rely on SoupSession's default
GProxyResolver. Good enough; this is a nice-to-have feature anyway.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gravatar/e-gravatar-photo-source.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/modules/gravatar/e-gravatar-photo-source.c b/modules/gravatar/e-gravatar-photo-source.c index 362666e816..bcfe0dea9e 100644 --- a/modules/gravatar/e-gravatar-photo-source.c +++ b/modules/gravatar/e-gravatar-photo-source.c @@ -67,7 +67,6 @@ gravatar_photo_source_get_photo_thread (GSimpleAsyncResult *simple, GInputStream *stream = NULL; gchar *hash; gchar *uri; - EProxy *proxy; GError *local_error = NULL; async_context = g_simple_async_result_get_op_res_gpointer (simple); @@ -80,19 +79,6 @@ gravatar_photo_source_get_photo_thread (GSimpleAsyncResult *simple, session = soup_session_new (); - proxy = e_proxy_new (); - e_proxy_setup_proxy (proxy); - - if (e_proxy_require_proxy_for_uri (proxy, uri)) { - SoupURI *proxy_uri; - - proxy_uri = e_proxy_peek_uri_for (proxy, uri); - - g_object_set (session, SOUP_SESSION_PROXY_URI, proxy_uri, NULL); - } - - g_clear_object (&proxy); - /* We control the URI so there should be no error. */ request = soup_session_request (session, uri, NULL); g_return_if_fail (request != NULL); |