aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-new-chatroom-dialog.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-11 21:28:09 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-11 21:28:09 +0800
commitd339921eaf86de17aaae585070ae479cfbf4734f (patch)
treee1256e36416e33da304fae666718e558944a6237 /src/empathy-new-chatroom-dialog.c
parentfabcd2ec298f6773112c6fad57238c6f7bc2d77e (diff)
downloadgsoc2013-empathy-d339921eaf86de17aaae585070ae479cfbf4734f.tar
gsoc2013-empathy-d339921eaf86de17aaae585070ae479cfbf4734f.tar.gz
gsoc2013-empathy-d339921eaf86de17aaae585070ae479cfbf4734f.tar.bz2
gsoc2013-empathy-d339921eaf86de17aaae585070ae479cfbf4734f.tar.lz
gsoc2013-empathy-d339921eaf86de17aaae585070ae479cfbf4734f.tar.xz
gsoc2013-empathy-d339921eaf86de17aaae585070ae479cfbf4734f.tar.zst
gsoc2013-empathy-d339921eaf86de17aaae585070ae479cfbf4734f.zip
empathy_dispatcher_join_muc: get an account instead of a connection
Diffstat (limited to 'src/empathy-new-chatroom-dialog.c')
-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 88003e948..63e766449 100644
--- a/src/empathy-new-chatroom-dialog.c
+++ b/src/empathy-new-chatroom-dialog.c
@@ -714,7 +714,7 @@ static void
new_chatroom_dialog_join (EmpathyNewChatroomDialog *dialog)
{
EmpathyAccountChooser *account_chooser;
- TpConnection *connection;
+ TpAccount *account;
const gchar *room;
const gchar *server = NULL;
gchar *room_name = NULL;
@@ -723,7 +723,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);
- connection = empathy_account_chooser_get_connection (account_chooser);
+ account = empathy_account_chooser_get_account (account_chooser);
if (!EMP_STR_EMPTY (server)) {
room_name = g_strconcat (room, "@", server, NULL);
@@ -734,7 +734,7 @@ new_chatroom_dialog_join (EmpathyNewChatroomDialog *dialog)
g_strstrip (room_name);
DEBUG ("Requesting channel for '%s'", room_name);
- empathy_dispatcher_join_muc (connection, room_name,
+ empathy_dispatcher_join_muc (account, room_name,
gtk_get_current_event_time ());
g_free (room_name);