diff options
author | Jonny Lamb <jonnylamb@gnome.org> | 2011-01-29 00:28:58 +0800 |
---|---|---|
committer | Jonny Lamb <jonnylamb@gnome.org> | 2011-01-29 00:28:58 +0800 |
commit | 1cbcfd3eda00fa93d081ef37c609103d84663941 (patch) | |
tree | 2b940e7bdb1f661d961803ca621726dc589a0141 | |
parent | a8e29279f323a5a1f4fc66a450a633b3415bea4d (diff) | |
download | gsoc2013-empathy-1cbcfd3eda00fa93d081ef37c609103d84663941.tar gsoc2013-empathy-1cbcfd3eda00fa93d081ef37c609103d84663941.tar.gz gsoc2013-empathy-1cbcfd3eda00fa93d081ef37c609103d84663941.tar.bz2 gsoc2013-empathy-1cbcfd3eda00fa93d081ef37c609103d84663941.tar.lz gsoc2013-empathy-1cbcfd3eda00fa93d081ef37c609103d84663941.tar.xz gsoc2013-empathy-1cbcfd3eda00fa93d081ef37c609103d84663941.tar.zst gsoc2013-empathy-1cbcfd3eda00fa93d081ef37c609103d84663941.zip |
keyring: add is_available function
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
-rw-r--r-- | libempathy/empathy-keyring.c | 6 | ||||
-rw-r--r-- | libempathy/empathy-keyring.h | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/libempathy/empathy-keyring.c b/libempathy/empathy-keyring.c index 10226ac09..7205a83fb 100644 --- a/libempathy/empathy-keyring.c +++ b/libempathy/empathy-keyring.c @@ -33,6 +33,12 @@ static GnomeKeyringPasswordSchema account_keyring_schema = { "param-name", GNOME_KEYRING_ATTRIBUTE_TYPE_STRING }, { NULL } } }; +gboolean +empathy_keyring_is_available (void) +{ + return gnome_keyring_is_available (); +} + /* get */ static void diff --git a/libempathy/empathy-keyring.h b/libempathy/empathy-keyring.h index e4211671a..76cb4fbeb 100644 --- a/libempathy/empathy-keyring.h +++ b/libempathy/empathy-keyring.h @@ -25,6 +25,8 @@ G_BEGIN_DECLS +gboolean empathy_keyring_is_available (void); + void empathy_keyring_get_account_password_async (TpAccount *account, GAsyncReadyCallback callback, gpointer user_data); |