From ec55d4f9308a0eb65c6ea5de7e9757e9d8b0b70f Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Sun, 18 May 2008 14:27:44 +0000 Subject: Improve dispatcher. Fixes bug #465928. svn path=/trunk/; revision=1108 --- libempathy-gtk/empathy-new-message-dialog.c | 5 +++-- 1 file changed, 3 insertions(+), 2 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 b07f13e21..fc4c0f887 100644 --- a/libempathy-gtk/empathy-new-message-dialog.c +++ b/libempathy-gtk/empathy-new-message-dialog.c @@ -32,6 +32,7 @@ #include #include +#include #include #include @@ -67,10 +68,10 @@ new_message_dialog_response_cb (GtkWidget *widget, } if (response == 1) { - empathy_call_with_contact_id (account, id); + empathy_dispatcher_call_with_contact_id (account, id); } else if (response == 2) { - empathy_chat_with_contact_id (account, id); + empathy_dispatcher_chat_with_contact_id (account, id); } g_object_unref (account); -- cgit v1.2.3