[Telepathy-commits] [telepathy-mission-control/master] Invoke the correct proxy

Alberto Mardegan alberto.mardegan at nokia.com
Tue Nov 18 08:10:57 PST 2008


"handler" was just a local variable initialized to NULL (the code came from a
wild cut & paste operation). "client" is the proper proxy.
---
 src/mcd-dispatcher.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/mcd-dispatcher.c b/src/mcd-dispatcher.c
index 7844644..6a8d09e 100644
--- a/src/mcd-dispatcher.c
+++ b/src/mcd-dispatcher.c
@@ -1268,7 +1268,6 @@ static void
 mcd_dispatcher_run_approvers (McdDispatcherContext *context)
 {
     McdDispatcherPrivate *priv = context->dispatcher->priv;
-    McdClient *handler = NULL;
     const GList *cl, *channels;
     GList *list;
 
@@ -1311,7 +1310,7 @@ mcd_dispatcher_run_approvers (McdDispatcherContext *context)
 
         context->approvers_invoked++;
         mcd_dispatcher_context_ref (context);
-        mc_cli_client_approver_call_add_dispatch_operation (handler->proxy, -1,
+        mc_cli_client_approver_call_add_dispatch_operation (client->proxy, -1,
             dispatch_operation, properties,
             add_dispatch_operation_cb,
             context, (GDestroyNotify)mcd_dispatcher_context_unref,
-- 
1.5.6.5




More information about the Telepathy-commits mailing list