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-new-message-dialog.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'libempathy-gtk/empathy-new-message-dialog.c') 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