aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-dispatcher.c8
-rw-r--r--libempathy/empathy-dispatcher.h5
2 files changed, 5 insertions, 8 deletions
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);
diff --git a/libempathy/empathy-dispatcher.h b/libempathy/empathy-dispatcher.h
index 1cc39cfbb..d49aa2dad 100644
--- a/libempathy/empathy-dispatcher.h
+++ b/libempathy/empathy-dispatcher.h
@@ -77,9 +77,8 @@ void empathy_dispatcher_create_channel (EmpathyDispatcher *dispatcher,
/* Requesting 1 to 1 text channels */
void empathy_dispatcher_chat_with_contact_id (TpConnection *connection,
const gchar *contact_id,
- gint64 timestamp,
- EmpathyDispatcherRequestCb *callback,
- gpointer user_data);
+ gint64 timestamp);
+
void empathy_dispatcher_chat_with_contact (EmpathyContact *contact,
gint64 timestamp,
EmpathyDispatcherRequestCb *callback,