[telepathy-mission-control/master] mcd_dispatcher_op_ready_to_dispatch_cb: only check client locks if we could have released one

Simon McVittie simon.mcvittie at collabora.co.uk
Mon Nov 2 06:41:37 PST 2009


---
 src/mcd-dispatcher.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mcd-dispatcher.c b/src/mcd-dispatcher.c
index 856e695..632be93 100644
--- a/src/mcd-dispatcher.c
+++ b/src/mcd-dispatcher.c
@@ -1257,10 +1257,10 @@ mcd_dispatcher_op_ready_to_dispatch_cb (McdDispatchOperation *operation,
         _mcd_dispatch_operation_set_awaiting_approval (context->operation,
                                                        FALSE);
         _mcd_dispatch_operation_set_approved (context->operation);
+        _mcd_dispatch_operation_check_client_locks (context->operation);
         mcd_dispatcher_context_unref (context, "CTXREF14");
     }
 
-    _mcd_dispatch_operation_check_client_locks (context->operation);
     mcd_dispatcher_context_unref (context, "CTXREF15");
 }
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list