[libsecret] Fix endless loop when retrieving properties



commit f24984880e02f32adca0b6931ba476fc12fba0f5
Author: Stef Walter <stefw gnome org>
Date:   Wed Jun 27 16:43:55 2012 +0200

    Fix endless loop when retrieving properties

 library/secret-util.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/library/secret-util.c b/library/secret-util.c
index 322fa46..8a22014 100644
--- a/library/secret-util.c
+++ b/library/secret-util.c
@@ -359,7 +359,7 @@ on_get_properties (GObject *source,
                    GAsyncResult *result,
                    gpointer user_data)
 {
-	GSimpleAsyncResult *res = G_SIMPLE_ASYNC_RESULT (result);
+	GSimpleAsyncResult *res = G_SIMPLE_ASYNC_RESULT (user_data);
 	GDBusProxy *proxy = G_DBUS_PROXY (g_async_result_get_source_object (user_data));
 	GError *error = NULL;
 	GVariant *retval;



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