[vino] Added "tube" category to dprintf debug messages.



commit e33760857e42ee246e63fb77d7e6a1d5edcc5bde
Author: Jonh Wendell <jwendell gnome org>
Date:   Fri Aug 28 11:48:14 2009 -0300

    Added "tube" category to dprintf debug messages.

 docs/debugging.txt |    1 +
 server/vino-util.c |    3 ++-
 server/vino-util.h |    3 ++-
 3 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/docs/debugging.txt b/docs/debugging.txt
index 1cd9519..f2cfa82 100644
--- a/docs/debugging.txt
+++ b/docs/debugging.txt
@@ -40,6 +40,7 @@ in order to get debug spew from various parts of the code:
                 client connects
   + "dbus"    - information about D-BUS stuff
   + "upnp"    - information about UPNP stuff
+  + "tube"    - information about Telepathy Tubes stuff
 
 
   When tracking down performance problems, I've found strace very
diff --git a/server/vino-util.c b/server/vino-util.c
index bb6bfc0..e9c4a38 100644
--- a/server/vino-util.c
+++ b/server/vino-util.c
@@ -43,7 +43,8 @@ vino_setup_debug_flags (void)
       { "prompt",  VINO_DEBUG_PROMPT },
       { "http",    VINO_DEBUG_HTTP },
       { "dbus",    VINO_DEBUG_DBUS },
-      { "upnp",    VINO_DEBUG_UPNP }
+      { "upnp",    VINO_DEBUG_UPNP },
+      { "tube",    VINO_DEBUG_TUBE }
     };
   
   env_str = g_getenv ("VINO_SERVER_DEBUG");
diff --git a/server/vino-util.h b/server/vino-util.h
index 760b63a..fed3022 100644
--- a/server/vino-util.h
+++ b/server/vino-util.h
@@ -46,7 +46,8 @@ typedef enum
   VINO_DEBUG_PROMPT  = 1 << 6,
   VINO_DEBUG_HTTP    = 1 << 7,
   VINO_DEBUG_DBUS    = 1 << 8,
-  VINO_DEBUG_UPNP    = 1 << 9
+  VINO_DEBUG_UPNP    = 1 << 9,
+  VINO_DEBUG_TUBE    = 1 << 10
 } VinoDebugFlags;
 
 #ifdef G_ENABLE_DEBUG



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]