[seahorse: 2/6] Fix build after gp11 API change



commit 3eee55c4234f8642c0c9e17fb3ca715fa071d6d7
Author: Vincent Untz <vuntz gnome org>
Date:   Wed Dec 23 11:35:57 2009 +0100

    Fix build after gp11 API change
    
    gp11_slot_open_session_async now takes two additional arguments.

 configure.in                        |    2 +-
 pkcs11/seahorse-pkcs11-operations.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.in b/configure.in
index d76197f..5e7894a 100644
--- a/configure.in
+++ b/configure.in
@@ -441,7 +441,7 @@ if test "$enable_pkcs11" = "no"; then
 	echo "disabling pkcs11 support"
 	enable_pkcs11="no"
 else
-	PKG_CHECK_MODULES(GP11, gp11-0 >= 2.25.5 gcr-0 >= 2.25.5, enable_pkcs11="yes", enable_pkcs11="no")
+	PKG_CHECK_MODULES(GP11, gp11-0 >= 2.29.4 gcr-0 >= 2.25.5, enable_pkcs11="yes", enable_pkcs11="no")
 	if test "$enable_pkcs11" = "yes"; then
 		AC_DEFINE(WITH_PKCS11, 1, [gp11 library available])
 		SEAHORSE_CFLAGS="$SEAHORSE_CFLAGS $GP11_CFLAGS"
diff --git a/pkcs11/seahorse-pkcs11-operations.c b/pkcs11/seahorse-pkcs11-operations.c
index 4e039c1..f500a75 100644
--- a/pkcs11/seahorse-pkcs11-operations.c
+++ b/pkcs11/seahorse-pkcs11-operations.c
@@ -181,7 +181,7 @@ seahorse_pkcs11_refresher_constructor (GType type, guint n_props, GObjectConstru
 
 	/* Step 1. Load the session */
 	slot = seahorse_pkcs11_source_get_slot (self->source);
-	gp11_slot_open_session_async (slot, CKF_RW_SESSION, self->cancellable, 
+	gp11_slot_open_session_async (slot, CKF_RW_SESSION, NULL, NULL, self->cancellable,
 	                              (GAsyncReadyCallback)on_open_session, self);
 	seahorse_operation_mark_start (SEAHORSE_OPERATION (self));
 	



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