aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-new-chatroom-dialog.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-07-16 17:10:57 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-07-16 17:10:57 +0800
commit0751b2d498a4fedde128f9a55bcb89d859794ee3 (patch)
tree4d003bd63f6f395b5d439553cf9ab8b0ded4b8f7 /src/empathy-new-chatroom-dialog.c
parent25c022091cf9527a80db041e554e8ec35b131bf2 (diff)
downloadgsoc2013-empathy-0751b2d498a4fedde128f9a55bcb89d859794ee3.tar
gsoc2013-empathy-0751b2d498a4fedde128f9a55bcb89d859794ee3.tar.gz
gsoc2013-empathy-0751b2d498a4fedde128f9a55bcb89d859794ee3.tar.bz2
gsoc2013-empathy-0751b2d498a4fedde128f9a55bcb89d859794ee3.tar.lz
gsoc2013-empathy-0751b2d498a4fedde128f9a55bcb89d859794ee3.tar.xz
gsoc2013-empathy-0751b2d498a4fedde128f9a55bcb89d859794ee3.tar.zst
gsoc2013-empathy-0751b2d498a4fedde128f9a55bcb89d859794ee3.zip
Use new tp_account_* getters
Diffstat (limited to 'src/empathy-new-chatroom-dialog.c')
-rw-r--r--src/empathy-new-chatroom-dialog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-new-chatroom-dialog.c b/src/empathy-new-chatroom-dialog.c
index f0b6147b1..8b6e9a380 100644
--- a/src/empathy-new-chatroom-dialog.c
+++ b/src/empathy-new-chatroom-dialog.c
@@ -297,7 +297,7 @@ update_join_button_sensitivity (EmpathyNewChatroomDialog *self)
gboolean sensitive = FALSE;
room = gtk_entry_get_text (GTK_ENTRY (self->priv->entry_room));
- protocol = tp_account_get_protocol (self->priv->account);
+ protocol = tp_account_get_protocol_name (self->priv->account);
if (EMP_STR_EMPTY (room))
goto out;
@@ -326,7 +326,7 @@ new_chatroom_dialog_update_widgets (EmpathyNewChatroomDialog *self)
if (self->priv->account == NULL)
return;
- protocol = tp_account_get_protocol (self->priv->account);
+ protocol = tp_account_get_protocol_name (self->priv->account);
gtk_entry_set_text (GTK_ENTRY (self->priv->entry_server), "");