[Telepathy-commits] [telepathy-glib/master] Add a debug flag 'contacts'

Simon McVittie simon.mcvittie at collabora.co.uk
Tue Oct 28 10:47:09 PDT 2008


---
 telepathy-glib/debug-internal.h |    3 ++-
 telepathy-glib/debug.c          |    3 +++
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/telepathy-glib/debug-internal.h b/telepathy-glib/debug-internal.h
index d4bb9af..b57473c 100644
--- a/telepathy-glib/debug-internal.h
+++ b/telepathy-glib/debug-internal.h
@@ -24,7 +24,8 @@ typedef enum
   TP_DEBUG_MANAGER       = 1 << 7,
   TP_DEBUG_CHANNEL       = 1 << 8,
   TP_DEBUG_PROXY         = 1 << 9,
-  TP_DEBUG_HANDLES       = 1 << 10
+  TP_DEBUG_HANDLES       = 1 << 10,
+  TP_DEBUG_CONTACTS      = 1 << 11
 } TpDebugFlags;
 
 gboolean _tp_debug_flag_is_set (TpDebugFlags flag);
diff --git a/telepathy-glib/debug.c b/telepathy-glib/debug.c
index 11f6dc4..a452afc 100644
--- a/telepathy-glib/debug.c
+++ b/telepathy-glib/debug.c
@@ -37,6 +37,8 @@
  *    #TpConnectionManager (client)</listitem>
  * <listitem><literal>connection</literal> - #TpBaseConnection (service)
  *    and #TpConnection (client)</listitem>
+ * <listitem><literal>contacts</literal> - #TpContact objects
+ *    (client)</listitem>
  * <listitem><literal>channel</literal> - #TpChannel (client)</listitem>
  * <listitem><literal>im</literal> - (text) instant messaging
  *    (service)</listitem>
@@ -100,6 +102,7 @@ static GDebugKey keys[] = {
   { "channel",       TP_DEBUG_CHANNEL },
   { "proxy",         TP_DEBUG_PROXY },
   { "handles",       TP_DEBUG_HANDLES },
+  { "contacts",      TP_DEBUG_CONTACTS },
   { 0, }
 };
 
-- 
1.5.6.5




More information about the Telepathy-commits mailing list