diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-11-26 23:48:04 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-11-26 23:50:10 +0800 |
commit | df8d6d045bb5be369a116a9706f8c17227fafb82 (patch) | |
tree | 1bf396f934c071ca5e62402353f18def13d1d1cb /mail/e-http-request.c | |
parent | d79b302d787a3a3956a78fc9de2d076b2324d042 (diff) | |
download | gsoc2013-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/e-http-request.c')
-rw-r--r-- | mail/e-http-request.c | 5 |
1 files changed, 2 insertions, 3 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); |