[empathy] keyring: Drop legacy function after the libsecret migration
- From: Emanuele Aina <emaaa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] keyring: Drop legacy function after the libsecret migration
- Date: Thu, 4 Apr 2013 13:37:55 +0000 (UTC)
commit 9419483e04bfe9f6fba0828bdeed7c260c8a22db
Author: Emanuele Aina <emanuele aina collabora com>
Date: Thu Apr 4 15:20:14 2013 +0200
keyring: Drop legacy function after the libsecret migration
libempathy-gtk/empathy-chat.c | 10 ++--------
libempathy/empathy-keyring.c | 6 ------
libempathy/empathy-keyring.h | 2 --
3 files changed, 2 insertions(+), 16 deletions(-)
---
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index ed0d27c..63364b3 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -3855,14 +3855,8 @@ provide_password_cb (GObject *tp_chat,
return;
}
- if (empathy_keyring_is_available ()) {
- /* ask whether they want to save the password */
- chat_prompt_to_save_password (self, data);
- } else {
- /* Get rid of the password info bar finally */
- gtk_widget_destroy (data->info_bar);
- g_slice_free (PasswordData, data);
- }
+ /* ask whether they want to save the password */
+ chat_prompt_to_save_password (self, data);
/* Room joined */
gtk_widget_set_sensitive (priv->hpaned, TRUE);
diff --git a/libempathy/empathy-keyring.c b/libempathy/empathy-keyring.c
index e7872f1..4066734 100644
--- a/libempathy/empathy-keyring.c
+++ b/libempathy/empathy-keyring.c
@@ -49,12 +49,6 @@ static const SecretSchema room_keyring_schema =
{ "room-id", SECRET_SCHEMA_ATTRIBUTE_STRING },
{ NULL } } };
-gboolean
-empathy_keyring_is_available (void)
-{
- return TRUE;
-}
-
/* get */
static void
diff --git a/libempathy/empathy-keyring.h b/libempathy/empathy-keyring.h
index 6471099..8a426a0 100644
--- a/libempathy/empathy-keyring.h
+++ b/libempathy/empathy-keyring.h
@@ -24,8 +24,6 @@
G_BEGIN_DECLS
-gboolean empathy_keyring_is_available (void);
-
void empathy_keyring_get_account_password_async (TpAccount *account,
GAsyncReadyCallback callback, gpointer user_data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]