[gnome-keyring/gnome-3-6] dbus: Don't reverse the order of items returned from SearchItems()
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-keyring/gnome-3-6] dbus: Don't reverse the order of items returned from SearchItems()
- Date: Thu, 28 Feb 2013 15:31:55 +0000 (UTC)
commit c97f68fc9df2f6a72a3f540bb872afb96a8edd48
Author: Stef Walter <stefw gnome org>
Date: Fri Feb 15 14:36:59 2013 +0100
dbus: Don't reverse the order of items returned from SearchItems()
Applications expect the latest item to be returned first. We sort
the items carefully. Fix regression which reverses them.
https://bugzilla.gnome.org/show_bug.cgi?id=693884
daemon/dbus/gkd-secret-objects.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/daemon/dbus/gkd-secret-objects.c b/daemon/dbus/gkd-secret-objects.c
index 8bc500f..b42c7be 100644
--- a/daemon/dbus/gkd-secret-objects.c
+++ b/daemon/dbus/gkd-secret-objects.c
@@ -424,6 +424,9 @@ item_cleanup_search_results (GckSession *session, GList *items,
g_free (value);
}
+
+ *locked = g_list_reverse (*locked);
+ *unlocked = g_list_reverse (*unlocked);
}
static DBusMessage*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]