[gnome-keyring] dbus: Fix errors introduced by previous introspection patch
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-keyring] dbus: Fix errors introduced by previous introspection patch
- Date: Mon, 26 Sep 2011 15:13:52 +0000 (UTC)
commit b5dbcb5e61ec47e857dc2756212816a8dbcc30f4
Author: Stef Walter <stefw collabora co uk>
Date: Mon Sep 26 17:13:13 2011 +0200
dbus: Fix errors introduced by previous introspection patch
daemon/dbus/gkd-secret-objects.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/daemon/dbus/gkd-secret-objects.c b/daemon/dbus/gkd-secret-objects.c
index 28a278a..072909a 100644
--- a/daemon/dbus/gkd-secret-objects.c
+++ b/daemon/dbus/gkd-secret-objects.c
@@ -1237,11 +1237,11 @@ gkd_secret_objects_append_collection_paths (GkdSecretObjects *self,
g_return_if_fail (iter && message);
dbus_message_iter_open_container (iter, DBUS_TYPE_VARIANT, "ao", &variant);
- dbus_message_iter_open_container (iter, DBUS_TYPE_ARRAY, "o", &array);
+ dbus_message_iter_open_container (&variant, DBUS_TYPE_ARRAY, "o", &array);
gkd_secret_objects_foreach_collection (self, message, on_object_path_append_to_iter, &array);
- dbus_message_iter_close_container (iter, &array);
+ dbus_message_iter_close_container (&variant, &array);
dbus_message_iter_close_container (iter, &variant);
}
@@ -1330,11 +1330,11 @@ gkd_secret_objects_handle_search_items (GkdSecretObjects *self, DBusMessage *mes
dbus_message_iter_init_append (reply, &iter);
dbus_message_iter_open_container (&iter, DBUS_TYPE_ARRAY, "o", &array);
- objects_foreach_item (self, unlocked, NULL, on_object_path_append_to_iter, &iter);
+ objects_foreach_item (self, unlocked, NULL, on_object_path_append_to_iter, &array);
dbus_message_iter_close_container (&iter, &array);
dbus_message_iter_open_container (&iter, DBUS_TYPE_ARRAY, "o", &array);
- objects_foreach_item (self, locked, NULL, on_object_path_append_to_iter, &iter);
+ objects_foreach_item (self, locked, NULL, on_object_path_append_to_iter, &array);
dbus_message_iter_close_container (&iter, &array);
g_list_free (locked);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]