Top |
Result codes used through out GNOME Keyring. Additional result codes may be added from time to time and these should be handled gracefully.
const gchar *
gnome_keyring_result_to_message (GnomeKeyringResult res
);
gnome_keyring_result_to_message
is deprecated and should not be used in newly-written code.
libsecret returns errors as GError directly. Use the error message field for a description.
The GNOME_KEYRING_RESULT_OK and GNOME_KEYRING_RESULT_CANCELLED codes will return an empty string.
Note that there are some results for which the application will need to take appropriate action rather than just display an error message to the user.
a string suitable for display to the user for a given GnomeKeyringResult, or an empty string if the message wouldn't make sense to a user.
GnomeKeyringResult
is deprecated and should not be used in newly-written code.
Errors are returned from libsecret functions as GError.
Various result codes returned by functions.
The operation completed successfully. |
||
Either the user or daemon denied access. |
||
Keyring daemon is not available. |
||
Keyring was already unlocked. |
||
No such keyring exists. |
||
Bad arguments to function. |
||
Problem communicating with daemon. |
||
Operation was cancelled. |
||
The keyring already exists. |
||
No such match found. |