From f24984880e02f32adca0b6931ba476fc12fba0f5 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 27 Jun 2012 16:43:55 +0200 Subject: [PATCH] Fix endless loop when retrieving properties --- library/secret-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;