[seahorse] Fix for soup deprecation
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [seahorse] Fix for soup deprecation
- Date: Mon, 22 Oct 2012 19:24:39 +0000 (UTC)
commit c744fe9d7d4c7f82db1eb99ce3d641164734f1ef
Author: Stef Walter <stefw gnome org>
Date:   Sat Oct 20 22:57:13 2012 +0200
    Fix for soup deprecation
    
     * Bump libsoup dependency to 2.24.0
 configure.ac              |    2 +-
 pgp/seahorse-hkp-source.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 15ba46f..c56f0c7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -298,7 +298,7 @@ else
     
     echo "checking for supported versions of libsoup..."
 
-    PKG_CHECK_MODULES(SOUP, libsoup-2.4, 
+    PKG_CHECK_MODULES(SOUP, libsoup-2.4 >= 2.24.0, 
         [enable_hkp=yes],  
         [enable_hkp=no])
 
diff --git a/pgp/seahorse-hkp-source.c b/pgp/seahorse-hkp-source.c
index dc91e5e..a945b4e 100644
--- a/pgp/seahorse-hkp-source.c
+++ b/pgp/seahorse-hkp-source.c
@@ -201,7 +201,7 @@ create_hkp_soup_session (void)
 #if WITH_DEBUG
 	if (seahorse_debugging) {
 		logger = soup_logger_new (SOUP_LOGGER_LOG_BODY, -1);
-		soup_logger_attach (logger, session);
+		soup_session_add_feature (session, SOUP_SESSION_FEATURE (logger));
 		g_object_unref (logger);
 	}
 #endif
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]