aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-keyring.c6
-rw-r--r--libempathy/empathy-keyring.h2
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);