From de7f1fe51aed7cb5b81d85d6bbb73d50b4f7de0b Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Fri, 9 Jan 2009 16:12:11 +0000 Subject: Use the new dispatcher api to request text channels Signed-off-by: Sjoerd Simons svn path=/trunk/; revision=2131 --- libempathy-gtk/empathy-contact-list-view.c | 4 ++-- libempathy-gtk/empathy-new-message-dialog.c | 7 +++---- 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'libempathy-gtk') diff --git a/libempathy-gtk/empathy-contact-list-view.c b/libempathy-gtk/empathy-contact-list-view.c index f9fbce92f..5e83f3b63 100644 --- a/libempathy-gtk/empathy-contact-list-view.c +++ b/libempathy-gtk/empathy-contact-list-view.c @@ -542,7 +542,7 @@ contact_list_view_row_activated (GtkTreeView *view, if (contact) { DEBUG ("Starting a chat"); - empathy_dispatcher_chat_with_contact (contact); + empathy_dispatcher_chat_with_contact (contact, NULL, NULL); g_object_unref (contact); } } @@ -571,7 +571,7 @@ contact_list_view_voip_activated_cb (EmpathyCellRendererActivatable *cell, -1); if (contact) { - empathy_dispatcher_call_with_contact (contact); + empathy_dispatcher_call_with_contact (contact, NULL, NULL); g_object_unref (contact); } } diff --git a/libempathy-gtk/empathy-new-message-dialog.c b/libempathy-gtk/empathy-new-message-dialog.c index ab1c6530a..ff91a182a 100644 --- a/libempathy-gtk/empathy-new-message-dialog.c +++ b/libempathy-gtk/empathy-new-message-dialog.c @@ -184,10 +184,9 @@ new_message_dialog_response_cb (GtkWidget *widget, } if (response == 1) { - empathy_dispatcher_call_with_contact_id (account, id); - } - else if (response == 2) { - empathy_dispatcher_chat_with_contact_id (account, id); + empathy_dispatcher_call_with_contact_id (account, id, NULL, NULL); + } else if (response == 2) { + empathy_dispatcher_chat_with_contact_id (account, id, NULL, NULL); } g_object_unref (account); -- cgit v1.2.3