aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-dispatcher.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-11 20:32:02 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-11 20:32:02 +0800
commit8a8ba7a5697c6e5494854c99dc9aa4a7fc7a45bd (patch)
treecac564a1043274b2f3d53e814839f086666c583b /libempathy/empathy-dispatcher.c
parentd82293953e49e54dbdaba7f0fe71ef6387099e2f (diff)
downloadgsoc2013-empathy-8a8ba7a5697c6e5494854c99dc9aa4a7fc7a45bd.tar
gsoc2013-empathy-8a8ba7a5697c6e5494854c99dc9aa4a7fc7a45bd.tar.gz
gsoc2013-empathy-8a8ba7a5697c6e5494854c99dc9aa4a7fc7a45bd.tar.bz2
gsoc2013-empathy-8a8ba7a5697c6e5494854c99dc9aa4a7fc7a45bd.tar.lz
gsoc2013-empathy-8a8ba7a5697c6e5494854c99dc9aa4a7fc7a45bd.tar.xz
gsoc2013-empathy-8a8ba7a5697c6e5494854c99dc9aa4a7fc7a45bd.tar.zst
gsoc2013-empathy-8a8ba7a5697c6e5494854c99dc9aa4a7fc7a45bd.zip
empathy_dispatcher_chat_with_contact_id: remove callback argument
It's unused anyway.
Diffstat (limited to 'libempathy/empathy-dispatcher.c')
-rw-r--r--libempathy/empathy-dispatcher.c8
1 files changed, 3 insertions, 5 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);