[telepathy-mission-control/master] McdDispatcher: remove CTXREF09 altogether
Simon McVittie
simon.mcvittie at collabora.co.uk
Thu May 28 07:15:12 PDT 2009
In the case where we call HandleChannels, we're protected by CTXREF03;
in the case where Claim was called, we're protected by CTXREF13.
---
src/mcd-dispatcher.c | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/src/mcd-dispatcher.c b/src/mcd-dispatcher.c
index 6eb1642..a92cf91 100644
--- a/src/mcd-dispatcher.c
+++ b/src/mcd-dispatcher.c
@@ -334,7 +334,6 @@ mcd_dispatcher_context_handler_done (McdDispatcherContext *context)
context->finished = TRUE;
g_signal_emit (context->dispatcher,
signals[DISPATCH_COMPLETED], 0, context);
- mcd_dispatcher_context_unref (context, "CTXREF09");
}
}
@@ -977,9 +976,6 @@ mcd_dispatcher_run_handlers (McdDispatcherContext *context)
* the right choice. */
if (handler != NULL)
{
- /* released by mcd_dispatcher_context_handler_done */
- mcd_dispatcher_context_ref (context, "CTXREF09");
-
mcd_dispatcher_handle_channels (context, channels, handler);
goto finally;
}
@@ -1003,9 +999,6 @@ mcd_dispatcher_run_handlers (McdDispatcherContext *context)
if (handler != NULL)
{
- /* released by mcd_dispatcher_context_handler_done */
- mcd_dispatcher_context_ref (context, "CTXREF09");
-
mcd_dispatcher_handle_channels (context, channels, handler);
goto finally;
}
@@ -1497,9 +1490,6 @@ on_operation_finished (McdDispatchOperation *operation,
channel, _mcd_dispatch_operation_get_claimer (operation));
}
- /* released by mcd_dispatcher_context_handler_done */
- mcd_dispatcher_context_ref (context, "CTXREF09");
-
mcd_dispatcher_context_handler_done (context);
/* this would have been released when all the locks were released, but
--
1.5.6.5
More information about the telepathy-commits
mailing list