#include "empathy-call-observer.h"
-#define DEBUG_FLAG EMPATHY_DEBUG_DISPATCHER
+#define DEBUG_FLAG EMPATHY_DEBUG_VOIP
#include <libempathy/empathy-debug.h>
struct _EmpathyCallObserverPriv {
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);
}
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,