aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-chat.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-05-25 20:23:50 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-06-22 15:23:26 +0800
commit24e45ffb59d929e39d8ceea3ef04c73a5bcfc912 (patch)
treee70b6d262c6e8092a30fd01376d2ecc38dbc2f2b /libempathy-gtk/empathy-chat.c
parent4f7fbd7ee74147e1f4897ca25d140da02ddceb93 (diff)
downloadgsoc2013-empathy-24e45ffb59d929e39d8ceea3ef04c73a5bcfc912.tar
gsoc2013-empathy-24e45ffb59d929e39d8ceea3ef04c73a5bcfc912.tar.gz
gsoc2013-empathy-24e45ffb59d929e39d8ceea3ef04c73a5bcfc912.tar.bz2
gsoc2013-empathy-24e45ffb59d929e39d8ceea3ef04c73a5bcfc912.tar.lz
gsoc2013-empathy-24e45ffb59d929e39d8ceea3ef04c73a5bcfc912.tar.xz
gsoc2013-empathy-24e45ffb59d929e39d8ceea3ef04c73a5bcfc912.tar.zst
gsoc2013-empathy-24e45ffb59d929e39d8ceea3ef04c73a5bcfc912.zip
Use tp-glib password API (#651055)
Diffstat (limited to 'libempathy-gtk/empathy-chat.c')
-rw-r--r--libempathy-gtk/empathy-chat.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index cd73c1f0d..69d81f993 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -3370,7 +3370,7 @@ provide_password_cb (GObject *tp_chat,
EmpathyChatPriv *priv = GET_PRIV (self);
GError *error = NULL;
- if (!empathy_tp_chat_provide_password_finish (EMPATHY_TP_CHAT (tp_chat), res,
+ if (!tp_channel_provide_password_finish (TP_CHANNEL (tp_chat), res,
&error)) {
DEBUG ("error: %s", error->message);
/* FIXME: what should we do if that's another error? Close the channel?
@@ -3434,7 +3434,7 @@ password_infobar_response_cb (GtkWidget *info_bar,
password = gtk_entry_get_text (GTK_ENTRY (data->entry));
- empathy_tp_chat_provide_password_async (priv->tp_chat, password,
+ tp_channel_provide_password_async (TP_CHANNEL (priv->tp_chat), password,
provide_password_cb, data);
gtk_widget_set_sensitive (data->button, FALSE);
@@ -3597,7 +3597,7 @@ provide_saved_password_cb (GObject *tp_chat,
EmpathyChatPriv *priv = GET_PRIV (self);
GError *error = NULL;
- if (!empathy_tp_chat_provide_password_finish (EMPATHY_TP_CHAT (tp_chat), res,
+ if (!tp_channel_provide_password_finish (TP_CHANNEL (tp_chat), res,
&error)) {
DEBUG ("error: %s", error->message);
/* FIXME: what should we do if that's another error? Close the channel?
@@ -3637,7 +3637,7 @@ chat_room_got_password_cb (GObject *source,
return;
}
- empathy_tp_chat_provide_password_async (priv->tp_chat, password,
+ tp_channel_provide_password_async (TP_CHANNEL (priv->tp_chat), password,
provide_saved_password_cb, self);
}
@@ -3646,7 +3646,7 @@ chat_password_needed_changed_cb (EmpathyChat *self)
{
EmpathyChatPriv *priv = GET_PRIV (self);
- if (empathy_tp_chat_password_needed (priv->tp_chat)) {
+ if (tp_channel_password_needed (TP_CHANNEL (priv->tp_chat))) {
empathy_keyring_get_room_password_async (priv->account,
empathy_tp_chat_get_id (priv->tp_chat),
chat_room_got_password_cb, self);