aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-10-26 23:31:26 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-10-26 23:31:26 +0800
commit054f27602448890116a67447e07032eb228bc82c (patch)
tree3e76c057feee5a75a7a3d91b1f8ca51d806013f1
parent5869623467e5c7746a4ad857f6ff0a69447816e7 (diff)
downloadgsoc2013-empathy-054f27602448890116a67447e07032eb228bc82c.tar
gsoc2013-empathy-054f27602448890116a67447e07032eb228bc82c.tar.gz
gsoc2013-empathy-054f27602448890116a67447e07032eb228bc82c.tar.bz2
gsoc2013-empathy-054f27602448890116a67447e07032eb228bc82c.tar.lz
gsoc2013-empathy-054f27602448890116a67447e07032eb228bc82c.tar.xz
gsoc2013-empathy-054f27602448890116a67447e07032eb228bc82c.tar.zst
gsoc2013-empathy-054f27602448890116a67447e07032eb228bc82c.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).
-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 1cb418977..5d20a16c5 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 *dispatcher = EMPATHY_DISPATCHER (object);
+ EmpathyDispatcher *dispatcher = request_data->dispatcher;
EmpathyDispatcherPriv *priv = GET_PRIV (dispatcher);
ConnectionData *cd;