aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2009-02-17 21:28:36 +0800
committerXavier Claessens <xclaesse@gmail.com>2009-04-22 18:21:10 +0800
commitb9a3cabefb651110498d04fc85baf161a0c64d48 (patch)
treef8611bb2c84c4f8aeced07b2117d3bc7e3bfd74f /src
parentd43f27acff69d454d2d0de370d7881f272d86ffc (diff)
downloadgsoc2013-empathy-b9a3cabefb651110498d04fc85baf161a0c64d48.tar
gsoc2013-empathy-b9a3cabefb651110498d04fc85baf161a0c64d48.tar.gz
gsoc2013-empathy-b9a3cabefb651110498d04fc85baf161a0c64d48.tar.bz2
gsoc2013-empathy-b9a3cabefb651110498d04fc85baf161a0c64d48.tar.lz
gsoc2013-empathy-b9a3cabefb651110498d04fc85baf161a0c64d48.tar.xz
gsoc2013-empathy-b9a3cabefb651110498d04fc85baf161a0c64d48.tar.zst
gsoc2013-empathy-b9a3cabefb651110498d04fc85baf161a0c64d48.zip
Port EmpathyNEwChatroomDialog to new API
Diffstat (limited to 'src')
-rw-r--r--src/empathy-new-chatroom-dialog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/empathy-new-chatroom-dialog.c b/src/empathy-new-chatroom-dialog.c
index bf107d1b6..abfdcf0ac 100644
--- a/src/empathy-new-chatroom-dialog.c
+++ b/src/empathy-new-chatroom-dialog.c
@@ -533,7 +533,7 @@ static void
new_chatroom_dialog_join (EmpathyNewChatroomDialog *dialog)
{
EmpathyAccountChooser *account_chooser;
- McAccount *account;
+ TpConnection *connection;
const gchar *room;
const gchar *server = NULL;
gchar *room_name = NULL;
@@ -542,7 +542,7 @@ new_chatroom_dialog_join (EmpathyNewChatroomDialog *dialog)
server = gtk_entry_get_text (GTK_ENTRY (dialog->entry_server));
account_chooser = EMPATHY_ACCOUNT_CHOOSER (dialog->account_chooser);
- account = empathy_account_chooser_get_account (account_chooser);
+ connection = empathy_account_chooser_get_connection (account_chooser);
if (!EMP_STR_EMPTY (server)) {
room_name = g_strconcat (room, "@", server, NULL);
@@ -551,7 +551,7 @@ new_chatroom_dialog_join (EmpathyNewChatroomDialog *dialog)
}
DEBUG ("Requesting channel for '%s'", room_name);
- empathy_dispatcher_join_muc (account, room_name, NULL, NULL);
+ empathy_dispatcher_join_muc (connection, room_name, NULL, NULL);
g_free (room_name);
}