projects
/
moonshot-ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
92625ac
)
More foreach fixup for centos
author
Kevin Wasserman
<krwasserman@hotmail.com>
Tue, 8 Oct 2013 18:13:32 +0000
(14:13 -0400)
committer
Kevin Wasserman
<krwasserman@hotmail.com>
Tue, 8 Oct 2013 18:13:32 +0000
(14:13 -0400)
src/moonshot-keyring-store.vala
patch
|
blob
|
history
diff --git
a/src/moonshot-keyring-store.vala
b/src/moonshot-keyring-store.vala
index
b546de6
..
922186f
100644
(file)
--- a/
src/moonshot-keyring-store.vala
+++ b/
src/moonshot-keyring-store.vala
@@
-37,12
+37,12
@@
public class KeyringStore : Object, IIdentityCardStore {
match.append_string(keyring_store_attribute, keyring_store_version);
GLib.List<GnomeKeyring.Found> items;
GnomeKeyring.find_items_sync(item_type, match, out items);
match.append_string(keyring_store_attribute, keyring_store_version);
GLib.List<GnomeKeyring.Found> items;
GnomeKeyring.find_items_sync(item_type, match, out items);
-
items.foreach((entry) =>
{
+
foreach(unowned GnomeKeyring.Found entry in items)
{
GnomeKeyring.Result result = GnomeKeyring.item_delete_sync(null, entry.item_id);
if (result != GnomeKeyring.Result.OK) {
stdout.printf("GnomeKeyring.item_delete_sync() failed. result: %d", result);
}
GnomeKeyring.Result result = GnomeKeyring.item_delete_sync(null, entry.item_id);
if (result != GnomeKeyring.Result.OK) {
stdout.printf("GnomeKeyring.item_delete_sync() failed. result: %d", result);
}
- }
);
+ }
}
private void load_id_cards() {
}
private void load_id_cards() {