Miscellaneous Functions

Miscellaneous Functions — Miscellaneous functions.

Synopsis

gboolean            gnome_keyring_is_available          (void);
void                gnome_keyring_cancel_request        (gpointer request);
void                gnome_keyring_string_list_free      (GList *strings);
#define             GNOME_KEYRING_DEPRECATED
#define             GNOME_KEYRING_DEPRECATED_FOR        (x)

Description

All of these APIs are deprecated. Use libsecret instead.

Details

gnome_keyring_is_available ()

gboolean            gnome_keyring_is_available          (void);

Warning

gnome_keyring_is_available is deprecated and should not be used in newly-written code. Not needed when using libsecret. The gnome-keyring daemon is automatically started as needed.

Check whether you can communicate with a gnome-keyring-daemon.

Returns :

FALSE if you can't communicate with the daemon (so you can't load and save passwords).

gnome_keyring_cancel_request ()

void                gnome_keyring_cancel_request        (gpointer request);

Warning

gnome_keyring_cancel_request is deprecated and should not be used in newly-written code. When using libsecret, use GCancellable to cancel asynchronous requests.

Cancel an asynchronous request.

If a callback was registered when making the asynchronous request, that callback function will be called with a result of GNOME_KEYRING_RESULT_CANCELLED

request :

The request returned from the asynchronous call function.

gnome_keyring_string_list_free ()

void                gnome_keyring_string_list_free      (GList *strings);

Warning

gnome_keyring_string_list_free is deprecated and should not be used in newly-written code. Not needed when using libsecret.

Free a list of string pointers.

strings :

A GList of string pointers. [element-type utf8]

GNOME_KEYRING_DEPRECATED

#define             GNOME_KEYRING_DEPRECATED


GNOME_KEYRING_DEPRECATED_FOR()

#define             GNOME_KEYRING_DEPRECATED_FOR(x)



Home ⌂Doc Index ◂Up ▴