[libsecret] Use correct path when initializing a collection



commit 5e73621f401a6732c069b5e89c4005b91947a979
Author: Stef Walter <stefw gnome org>
Date:   Wed Jun 27 16:43:14 2012 +0200

    Use correct path when initializing a collection

 library/secret-service.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/library/secret-service.c b/library/secret-service.c
index 9b82f3b..27bd4b4 100644
--- a/library/secret-service.c
+++ b/library/secret-service.c
@@ -1364,7 +1364,7 @@ on_ensure_collection (GObject *source,
 		g_simple_async_result_take_error (res, error);
 
 	if (collection != NULL) {
-		path = g_dbus_proxy_get_object_path (G_DBUS_PROXY (self));
+		path = g_dbus_proxy_get_object_path (G_DBUS_PROXY (collection));
 		g_hash_table_insert (closure->collections, g_strdup (path), collection);
 	}
 



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