[telepathy-mission-control/master] McdDispatcher: remove redundant CTXREF14

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


Now that CTXREF15 covers the whole period leading up to ready-to-dispatch,
we don't need CTXREF14 any more.
---
 src/mcd-dispatcher.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/mcd-dispatcher.c b/src/mcd-dispatcher.c
index 62e3018..70ef162 100644
--- a/src/mcd-dispatcher.c
+++ b/src/mcd-dispatcher.c
@@ -985,7 +985,6 @@ add_dispatch_operation_cb (TpClient *proxy, const GError *error,
         {
             _mcd_dispatch_operation_set_awaiting_approval (context->operation,
                                                            TRUE);
-            mcd_dispatcher_context_ref (context, "CTXREF14");
         }
     }
 
@@ -1184,7 +1183,6 @@ 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_dispatcher_context_unref (context, "CTXREF14");
     }
 
     mcd_dispatcher_context_unref (context, "CTXREF15");
-- 
1.5.6.5




More information about the telepathy-commits mailing list