--- a/keyring.impl/src/org/netbeans/modules/keyring/gnome/GnomeKeyringLibrary.java +++ a/keyring.impl/src/org/netbeans/modules/keyring/gnome/GnomeKeyringLibrary.java @@ -77,7 +77,7 @@ String display_name, /*GnomeKeyringAttributeList*/Pointer attributes, String secret, - boolean update_if_exists, + int update_if_exists, int[] item_id); int gnome_keyring_item_delete_sync( --- a/keyring.impl/src/org/netbeans/modules/keyring/gnome/GnomeProvider.java +++ a/keyring.impl/src/org/netbeans/modules/keyring/gnome/GnomeProvider.java @@ -135,7 +135,7 @@ LIBRARY.gnome_keyring_attribute_list_append_string(attributes, KEY, key); int[] item_id = new int[1]; error(GnomeKeyringLibrary.LIBRARY.gnome_keyring_item_create_sync( - null, GNOME_KEYRING_ITEM_GENERIC_SECRET, description != null ? description : key, attributes, new String(password), true, item_id)); + null, GNOME_KEYRING_ITEM_GENERIC_SECRET, description != null ? description : key, attributes, new String(password), 1, item_id)); } finally { LIBRARY.gnome_keyring_attribute_list_free(attributes); }