From 8a8ba7a5697c6e5494854c99dc9aa4a7fc7a45bd Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 11 Aug 2010 14:32:02 +0200 Subject: empathy_dispatcher_chat_with_contact_id: remove callback argument It's unused anyway. --- libempathy/empathy-dispatcher.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'libempathy/empathy-dispatcher.c') diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c index 1cec0e9d8..09630e674 100644 --- a/libempathy/empathy-dispatcher.c +++ b/libempathy/empathy-dispatcher.c @@ -1309,9 +1309,7 @@ dispatcher_chat_with_contact_id_cb (TpConnection *connection, void empathy_dispatcher_chat_with_contact_id (TpConnection *connection, const gchar *contact_id, - gint64 timestamp, - EmpathyDispatcherRequestCb *callback, - gpointer user_data) + gint64 timestamp) { EmpathyDispatcher *self; ChatWithContactIdData *data; @@ -1322,8 +1320,8 @@ empathy_dispatcher_chat_with_contact_id (TpConnection *connection, self = empathy_dispatcher_dup_singleton (); data = g_slice_new0 (ChatWithContactIdData); data->dispatcher = self; - data->callback = callback; - data->user_data = user_data; + data->callback = NULL; + data->user_data = NULL; data->timestamp = timestamp; empathy_tp_contact_factory_get_from_id (connection, contact_id, dispatcher_chat_with_contact_id_cb, data, NULL, NULL); -- cgit v1.2.3