aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-new-message-dialog.c
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-01-10 00:12:11 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-10 00:12:11 +0800
commitde7f1fe51aed7cb5b81d85d6bbb73d50b4f7de0b (patch)
tree6d34ad438557cd82b7fc83c327265f7fd9c5c45c /libempathy-gtk/empathy-new-message-dialog.c
parent9940bfed4c589710add05be776b7b1817bf9d48d (diff)
downloadgsoc2013-empathy-de7f1fe51aed7cb5b81d85d6bbb73d50b4f7de0b.tar
gsoc2013-empathy-de7f1fe51aed7cb5b81d85d6bbb73d50b4f7de0b.tar.gz
gsoc2013-empathy-de7f1fe51aed7cb5b81d85d6bbb73d50b4f7de0b.tar.bz2
gsoc2013-empathy-de7f1fe51aed7cb5b81d85d6bbb73d50b4f7de0b.tar.lz
gsoc2013-empathy-de7f1fe51aed7cb5b81d85d6bbb73d50b4f7de0b.tar.xz
gsoc2013-empathy-de7f1fe51aed7cb5b81d85d6bbb73d50b4f7de0b.tar.zst
gsoc2013-empathy-de7f1fe51aed7cb5b81d85d6bbb73d50b4f7de0b.zip
Use the new dispatcher api to request text channels
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2131
Diffstat (limited to 'libempathy-gtk/empathy-new-message-dialog.c')
-rw-r--r--libempathy-gtk/empathy-new-message-dialog.c7
1 files changed, 3 insertions, 4 deletions
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);