From b499944f633b2c8b5efd7c19b27399520c46ae66 Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Tue, 24 May 2011 16:23:22 +0100 Subject: empathy_dispatcher_chat_with_contact_id(): add optional cb Conflicts: libempathy-gtk/empathy-individual-menu.c libempathy-gtk/empathy-new-message-dialog.c libempathy/empathy-dispatcher.c libempathy/empathy-dispatcher.h src/empathy-chat-manager.c src/empathy-chat-window.c --- libempathy-gtk/empathy-chat.c | 6 ++++-- libempathy-gtk/empathy-individual-menu.c | 3 ++- libempathy-gtk/empathy-new-message-dialog.c | 6 ++++-- 3 files changed, 10 insertions(+), 5 deletions(-) (limited to 'libempathy-gtk') diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c index 032dd2464..cf01632b4 100644 --- a/libempathy-gtk/empathy-chat.c +++ b/libempathy-gtk/empathy-chat.c @@ -275,11 +275,13 @@ account_reconnected (EmpathyChat *chat, if (priv->sms_channel) empathy_sms_contact_id ( account, priv->id, - TP_USER_ACTION_TIME_NOT_USER_ACTION); + TP_USER_ACTION_TIME_NOT_USER_ACTION, + NULL, NULL); else empathy_chat_with_contact_id ( account, priv->id, - TP_USER_ACTION_TIME_NOT_USER_ACTION); + TP_USER_ACTION_TIME_NOT_USER_ACTION, + NULL, NULL); break; case TP_HANDLE_TYPE_ROOM: empathy_join_muc (account, priv->id, diff --git a/libempathy-gtk/empathy-individual-menu.c b/libempathy-gtk/empathy-individual-menu.c index 745474d84..1a3dbb7e1 100644 --- a/libempathy-gtk/empathy-individual-menu.c +++ b/libempathy-gtk/empathy-individual-menu.c @@ -786,7 +786,8 @@ empathy_individual_sms_menu_item_activated (GtkMenuItem *item, empathy_sms_contact_id ( empathy_contact_get_account (contact), empathy_contact_get_id (contact), - empathy_get_current_action_time ()); + empathy_get_current_action_time (), + NULL, NULL); } GtkWidget * diff --git a/libempathy-gtk/empathy-new-message-dialog.c b/libempathy-gtk/empathy-new-message-dialog.c index 1c4bbaad5..40c25974c 100644 --- a/libempathy-gtk/empathy-new-message-dialog.c +++ b/libempathy-gtk/empathy-new-message-dialog.c @@ -80,12 +80,14 @@ empathy_new_message_dialog_response (GtkDialog *dialog, int response_id) { case EMP_NEW_MESSAGE_TEXT: empathy_chat_with_contact_id (account, contact_id, - empathy_get_current_action_time ()); + empathy_get_current_action_time (), + NULL, NULL); break; case EMP_NEW_MESSAGE_SMS: empathy_sms_contact_id (account, contact_id, - empathy_get_current_action_time ()); + empathy_get_current_action_time (), + NULL, NULL); break; default: -- cgit v1.2.3