aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-10-26 23:21:55 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-10-26 23:27:55 +0800
commit8bc370bcaf9d03ec49368b18f84e539e6b89e13b (patch)
tree4055612ce5ce00b08d078a2eb9b101023dcf2c71 /libempathy
parentcac9e049ba6a99b80aa1247cb33e1853b7bd7010 (diff)
downloadgsoc2013-empathy-8bc370bcaf9d03ec49368b18f84e539e6b89e13b.tar
gsoc2013-empathy-8bc370bcaf9d03ec49368b18f84e539e6b89e13b.tar.gz
gsoc2013-empathy-8bc370bcaf9d03ec49368b18f84e539e6b89e13b.tar.bz2
gsoc2013-empathy-8bc370bcaf9d03ec49368b18f84e539e6b89e13b.tar.lz
gsoc2013-empathy-8bc370bcaf9d03ec49368b18f84e539e6b89e13b.tar.xz
gsoc2013-empathy-8bc370bcaf9d03ec49368b18f84e539e6b89e13b.tar.zst
gsoc2013-empathy-8bc370bcaf9d03ec49368b18f84e539e6b89e13b.zip
dispatcher_request_handles_cb: use request_data->dispatcher to get the self pointer
We don't pass a weak pointer to tp_cli_connection_call_request_handles so we can't rely on it (#599612).
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-dispatcher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c
index d4c2908e8..eb43bc10e 100644
--- a/libempathy/empathy-dispatcher.c
+++ b/libempathy/empathy-dispatcher.c
@@ -1445,7 +1445,7 @@ dispatcher_request_handles_cb (TpConnection *connection,
if (error != NULL)
{
- EmpathyDispatcher *self = EMPATHY_DISPATCHER (object);
+ EmpathyDispatcher *self = request_data->dispatcher;
EmpathyDispatcherPriv *priv = GET_PRIV (self);
ConnectionData *cd;