- GnomeKeyring.AttributeList match = new GnomeKeyring.AttributeList();
- match.append_string(keyring_store_attribute, keyring_store_version);
- GLib.List<GnomeKeyring.Found> items;
- GnomeKeyring.find_items_sync(item_type, match, out items);
- 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.AttributeList match = new GnomeKeyring.AttributeList();
+ match.append_string(keyring_store_attribute, keyring_store_version);
+ GLib.List<GnomeKeyring.Found> items;
+ GnomeKeyring.find_items_sync(item_type, match, out items);
+ 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);
+ }
+ }