diff --git a/src/plugins/GnomeKeyringPasswords/test.cpp b/src/plugins/GnomeKeyringPasswords/test.cpp deleted file mode 100644 index 29e67081f..000000000 --- a/src/plugins/GnomeKeyringPasswords/test.cpp +++ /dev/null @@ -1,27 +0,0 @@ -#include - -extern "C" { -#include "gnome-keyring.h" -} - -int main() -{ - guint32 itemId; - GnomeKeyringAttributeList* attributes = gnome_keyring_attribute_list_new(); - - gnome_keyring_attribute_list_append_string(attributes, "key", "value"); - - GnomeKeyringResult result = gnome_keyring_item_create_sync(GNOME_KEYRING_DEFAULT, - GNOME_KEYRING_ITEM_GENERIC_SECRET, - "display-name", - attributes, - "passwrd-123", - TRUE, // Update if exists - &itemId); - - if (result == GNOME_KEYRING_RESULT_OK) { - printf("OK, id=%d\n", itemId); - } - - return 0; -}