diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-10-26 15:31:26 +0000 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-10-26 15:31:26 +0000 |
commit | 054f27602448890116a67447e07032eb228bc82c (patch) | |
tree | 3e76c057feee5a75a7a3d91b1f8ca51d806013f1 | |
parent | 5869623467e5c7746a4ad857f6ff0a69447816e7 (diff) | |
download | empathy-054f27602448890116a67447e07032eb228bc82c.tar.gz |
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.c | 2 |
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; |