diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-03-08 23:29:39 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-03-08 23:49:53 +0800 |
commit | 7c8e0dca9ac2e75a6d1522dc5d84c7e48175686b (patch) | |
tree | 1764fd11c7dc5be262ccb02a9e9e78f0c282b299 /src | |
parent | ddc6bf1db6787ece63bc28fdee0c7424a638e83a (diff) | |
download | gsoc2013-empathy-7c8e0dca9ac2e75a6d1522dc5d84c7e48175686b.tar gsoc2013-empathy-7c8e0dca9ac2e75a6d1522dc5d84c7e48175686b.tar.gz gsoc2013-empathy-7c8e0dca9ac2e75a6d1522dc5d84c7e48175686b.tar.bz2 gsoc2013-empathy-7c8e0dca9ac2e75a6d1522dc5d84c7e48175686b.tar.lz gsoc2013-empathy-7c8e0dca9ac2e75a6d1522dc5d84c7e48175686b.tar.xz gsoc2013-empathy-7c8e0dca9ac2e75a6d1522dc5d84c7e48175686b.tar.zst gsoc2013-empathy-7c8e0dca9ac2e75a6d1522dc5d84c7e48175686b.zip |
call-observer: set debug domain to 'voip' and add 2 debug messages
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-call-observer.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/empathy-call-observer.c b/src/empathy-call-observer.c index d724a40ff..3fb5adcb3 100644 --- a/src/empathy-call-observer.c +++ b/src/empathy-call-observer.c @@ -29,7 +29,7 @@ #include "empathy-call-observer.h" -#define DEBUG_FLAG EMPATHY_DEBUG_DISPATCHER +#define DEBUG_FLAG EMPATHY_DEBUG_VOIP #include <libempathy/empathy-debug.h> struct _EmpathyCallObserverPriv { @@ -57,6 +57,9 @@ on_channel_closed (TpProxy *proxy, gchar *message, EmpathyCallObserver *self) { + DEBUG ("channel %s has been invalidated; stop observing it", + tp_proxy_get_object_path (proxy)); + self->priv->channels = g_list_remove (self->priv->channels, proxy); g_object_unref (proxy); } @@ -159,6 +162,8 @@ observe_channels (TpSimpleObserver *observer, return; } + DEBUG ("Observing channel %s", tp_proxy_get_object_path (channel)); + tp_g_signal_connect_object (channel, "invalidated", G_CALLBACK (on_channel_closed), self, 0); self->priv->channels = g_list_prepend (self->priv->channels, |