aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-11-26 23:48:04 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-11-26 23:50:10 +0800
commitdf8d6d045bb5be369a116a9706f8c17227fafb82 (patch)
tree1bf396f934c071ca5e62402353f18def13d1d1cb /mail
parentd79b302d787a3a3956a78fc9de2d076b2324d042 (diff)
downloadgsoc2013-evolution-df8d6d045bb5be369a116a9706f8c17227fafb82.tar
gsoc2013-evolution-df8d6d045bb5be369a116a9706f8c17227fafb82.tar.gz
gsoc2013-evolution-df8d6d045bb5be369a116a9706f8c17227fafb82.tar.bz2
gsoc2013-evolution-df8d6d045bb5be369a116a9706f8c17227fafb82.tar.lz
gsoc2013-evolution-df8d6d045bb5be369a116a9706f8c17227fafb82.tar.xz
gsoc2013-evolution-df8d6d045bb5be369a116a9706f8c17227fafb82.tar.zst
gsoc2013-evolution-df8d6d045bb5be369a116a9706f8c17227fafb82.zip
Use plain SoupSesson everywhere.
SoupSessionAsync and SoupSessionSync are deprecated in libsoup 2.42.
Diffstat (limited to 'mail')
-rw-r--r--mail/e-http-request.c5
-rw-r--r--mail/e-mail-autoconfig.c2
2 files changed, 3 insertions, 4 deletions
diff --git a/mail/e-http-request.c b/mail/e-http-request.c
index 49cdf6058e..d6dd52cde4 100644
--- a/mail/e-http-request.c
+++ b/mail/e-http-request.c
@@ -352,9 +352,8 @@ handle_http_request (GSimpleAsyncResult *res,
context = g_main_context_new ();
g_main_context_push_thread_default (context);
- session = soup_session_sync_new_with_options (
- SOUP_SESSION_TIMEOUT, 90,
- NULL);
+ session = soup_session_new_with_options (
+ SOUP_SESSION_TIMEOUT, 90, NULL);
proxy = e_proxy_new ();
e_proxy_setup_proxy (proxy);
diff --git a/mail/e-mail-autoconfig.c b/mail/e-mail-autoconfig.c
index ca0b96405f..72a627b6d5 100644
--- a/mail/e-mail-autoconfig.c
+++ b/mail/e-mail-autoconfig.c
@@ -379,7 +379,7 @@ mail_autoconfig_lookup (EMailAutoconfig *autoconfig,
gchar *uri;
EProxy *proxy;
- soup_session = soup_session_sync_new ();
+ soup_session = soup_session_new ();
uri = g_strconcat (AUTOCONFIG_BASE_URI, domain, NULL);