[libsecret] Call correct method for secret_service_unlock()



commit 277e65b87aeb43492a561cf1dc94130e1e75584c
Author: Stef Walter <stefw gnome org>
Date:   Wed Jun 27 16:42:36 2012 +0200

    Call correct method for secret_service_unlock()
    
     * Previously erroneously called "Lock" instead of "Unlock"

 library/secret-methods.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/library/secret-methods.c b/library/secret-methods.c
index 9b2ca98..816d3a0 100644
--- a/library/secret-methods.c
+++ b/library/secret-methods.c
@@ -1221,7 +1221,7 @@ service_xlock_async (SecretService *self,
 	}
 	g_ptr_array_add (paths, NULL);
 
-	res = service_xlock_paths_async (self, "Lock", (const gchar **)paths->pdata,
+	res = service_xlock_paths_async (self, method, (const gchar **)paths->pdata,
 	                                 cancellable, callback, user_data);
 
 	closure = g_simple_async_result_get_op_res_gpointer (res);



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