[telepathy-mission-control/master] McdDispatcher: debug when dispatcher contexts are created
Simon McVittie
simon.mcvittie at collabora.co.uk
Tue May 12 04:37:38 PDT 2009
---
src/mcd-dispatcher.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/mcd-dispatcher.c b/src/mcd-dispatcher.c
index a9b194d..fb599bc 100644
--- a/src/mcd-dispatcher.c
+++ b/src/mcd-dispatcher.c
@@ -1421,6 +1421,12 @@ _mcd_dispatcher_enter_state_machine (McdDispatcher *dispatcher,
context->chain = priv->filters;
context->possible_handlers = possible_handlers;
+ DEBUG ("new dispatcher context %p for %s channel %p (%s): %s",
+ context, requested ? "requested" : "unrequested",
+ context->channels->data,
+ context->channels->next == NULL ? "only" : "and more",
+ mcd_channel_get_object_path (context->channels->data));
+
priv->contexts = g_list_prepend (priv->contexts, context);
if (!requested)
{
--
1.5.6.5
More information about the telepathy-commits
mailing list