From 8bc370bcaf9d03ec49368b18f84e539e6b89e13b Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 26 Oct 2009 15:21:55 +0000 Subject: 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). --- libempathy/empathy-dispatcher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3