aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-03-08 23:29:39 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-03-09 00:01:19 +0800
commit0984fed5c7773df78a918e6fd47ca12c9bdec652 (patch)
tree313f2cc268ef494a84747d5c868c6a4c5e75316a
parent65f94e4158b9a9286717cb5aeae506c015dbd489 (diff)
downloadgsoc2013-empathy-0984fed5c7773df78a918e6fd47ca12c9bdec652.tar
gsoc2013-empathy-0984fed5c7773df78a918e6fd47ca12c9bdec652.tar.gz
gsoc2013-empathy-0984fed5c7773df78a918e6fd47ca12c9bdec652.tar.bz2
gsoc2013-empathy-0984fed5c7773df78a918e6fd47ca12c9bdec652.tar.lz
gsoc2013-empathy-0984fed5c7773df78a918e6fd47ca12c9bdec652.tar.xz
gsoc2013-empathy-0984fed5c7773df78a918e6fd47ca12c9bdec652.tar.zst
gsoc2013-empathy-0984fed5c7773df78a918e6fd47ca12c9bdec652.zip
call-observer: set debug domain to 'voip' and add 2 debug messages
-rw-r--r--src/empathy-call-observer.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/empathy-call-observer.c b/src/empathy-call-observer.c
index 22d0afa1e..8edb38a22 100644
--- a/src/empathy-call-observer.c
+++ b/src/empathy-call-observer.c
@@ -31,7 +31,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 {
@@ -59,6 +59,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);
}
@@ -175,6 +178,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,