[evolution] EMeetingStore: Remove deprecated EProxy usage.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] EMeetingStore: Remove deprecated EProxy usage.
- Date: Tue, 26 Nov 2013 22:09:29 +0000 (UTC)
commit e80ec71e4c532dcfd4f35edfed7d204336b530ce
Author: Matthew Barnes <mbarnes redhat com>
Date: Tue Nov 26 16:51:00 2013 -0500
EMeetingStore: Remove deprecated EProxy usage.
EMeetingStore needs an ESourceRegistry property so it can obtain
an appropriate proxy ESource to serve as a GProxyResolver for the
SoupSession.
But frankly, this code is a mess and I can't be bothered right now.
The SoupSession will just use the desktop-wide proxy settings which
is fine for the vast majority of users.
calendar/gui/e-meeting-store.c | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/calendar/gui/e-meeting-store.c b/calendar/gui/e-meeting-store.c
index 3b7a772..48c65da 100644
--- a/calendar/gui/e-meeting-store.c
+++ b/calendar/gui/e-meeting-store.c
@@ -2004,7 +2004,6 @@ download_with_libsoup (const gchar *uri,
{
SoupSession *session;
SoupMessage *msg;
- EProxy *proxy;
g_return_if_fail (uri != NULL);
g_return_if_fail (qdata != NULL);
@@ -2024,18 +2023,6 @@ download_with_libsoup (const gchar *uri,
session, "authenticate",
G_CALLBACK (soup_authenticate), NULL);
- 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_object_unref (proxy);
-
soup_message_set_flags (msg, SOUP_MESSAGE_NO_REDIRECT);
soup_message_add_header_handler (
msg, "got_body", "Location",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]