[gnome-keyring] Fix unit testing which recent commit broke on this branch.



commit c23ef6d5ffef068e0055a3b3aca6be768df2c5ce
Author: Stef Walter <stef memberwebs com>
Date:   Sun Jan 31 20:48:55 2010 +0000

    Fix unit testing which recent commit broke on this branch.

 pkcs11/secret-store/gck-secret-collection.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pkcs11/secret-store/gck-secret-collection.c b/pkcs11/secret-store/gck-secret-collection.c
index d418ab1..07a3089 100644
--- a/pkcs11/secret-store/gck-secret-collection.c
+++ b/pkcs11/secret-store/gck-secret-collection.c
@@ -464,7 +464,7 @@ static gboolean
 gck_secret_collection_real_is_locked (GckSecretObject *obj, GckSession *session)
 {
 	GckSecretCollection *self = GCK_SECRET_COLLECTION (obj);
-	return gck_secret_collection_unlocked_have (self, session);
+	return !gck_secret_collection_unlocked_have (self, session);
 }
 
 static void



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