[seahorse/wip/nielsdg/port-soup-async-session] pgp: HkpSource: Don't use SoupAsyncSession



commit cfbed57b98856545a24b0e4497cf287d53962ae0
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Tue Jan 7 23:11:18 2020 +0100

    pgp: HkpSource: Don't use SoupAsyncSession
    
    `SoupAsyncSession` and `SoupAsyncSession` were deprecated in favor of
    their parent class `SoupSession`.

 pgp/seahorse-hkp-source.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/pgp/seahorse-hkp-source.c b/pgp/seahorse-hkp-source.c
index 2ea782d4..35d741f7 100644
--- a/pgp/seahorse-hkp-source.c
+++ b/pgp/seahorse-hkp-source.c
@@ -109,10 +109,7 @@ create_hkp_soup_session (void)
     const gchar *env;
 #endif
 
-    session = soup_session_async_new_with_options (SOUP_SESSION_ADD_FEATURE_BY_TYPE,
-                                                   SOUP_TYPE_PROXY_RESOLVER_DEFAULT,
-                                                   NULL);
-
+    session = soup_session_new ();
 
 #ifdef WITH_DEBUG
     env = g_getenv ("G_MESSAGES_DEBUG");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]