aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
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
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')
-rw-r--r--libempathy-gtk/empathy-contact-list-view.c4
-rw-r--r--libempathy-gtk/empathy-new-message-dialog.c7
2 files changed, 5 insertions, 6 deletions
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);