aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
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
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')
-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,