X-Git-Url: https://git.0d.be/?p=empathy.git;a=blobdiff_plain;f=libempathy-gtk%2Fempathy-chat.c;h=5bdc7ba1b88334c2aae722e27afd686df2a7c384;hp=e0460e527b2bbc733e0d32709cbbc29054f006d9;hb=2d543808216afa7bd287ec78fa69a16f576652a3;hpb=53a376be8d68d95c30cb66495d42d3c18947473f diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c index e0460e52..5bdc7ba1 100644 --- a/libempathy-gtk/empathy-chat.c +++ b/libempathy-gtk/empathy-chat.c @@ -33,6 +33,7 @@ #include "empathy-chat.h" #include +#include #include "empathy-client-factory.h" #include "empathy-gsettings.h" @@ -40,7 +41,6 @@ #include "empathy-individual-store-channel.h" #include "empathy-individual-view.h" #include "empathy-input-text-view.h" -#include "empathy-keyring.h" #include "empathy-request-util.h" #include "empathy-search-bar.h" #include "empathy-smiley-manager.h" @@ -3735,7 +3735,7 @@ remember_password_infobar_response_cb (GtkWidget *info_bar, if (response_id == GTK_RESPONSE_OK) { DEBUG ("Saving room password"); - empathy_keyring_set_room_password_async (priv->account, + tpaw_keyring_set_room_password_async (priv->account, empathy_tp_chat_get_id (priv->tp_chat), data->password, NULL, NULL); @@ -4071,7 +4071,7 @@ chat_room_got_password_cb (GObject *source, const gchar *password; GError *error = NULL; - password = empathy_keyring_get_room_password_finish (priv->account, + password = tpaw_keyring_get_room_password_finish (priv->account, result, &error); if (error != NULL) { @@ -4093,7 +4093,7 @@ chat_password_needed_changed_cb (EmpathyChat *self) EmpathyChatPriv *priv = GET_PRIV (self); if (tp_channel_password_needed (TP_CHANNEL (priv->tp_chat))) { - empathy_keyring_get_room_password_async (priv->account, + tpaw_keyring_get_room_password_async (priv->account, empathy_tp_chat_get_id (priv->tp_chat), chat_room_got_password_cb, self); }