[Telepathy-commits] [telepathy-mission-control/master] Make TP_GLIB_DEBUG control tp-glib's debug flags

Will Thompson will.thompson at collabora.co.uk
Wed Dec 17 04:17:27 PST 2008


---
 server/mc-server.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/server/mc-server.c b/server/mc-server.c
index 2d5117b..474e0e2 100644
--- a/server/mc-server.c
+++ b/server/mc-server.c
@@ -25,6 +25,9 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <glib.h>
+
+#include <telepathy-glib/debug.h>
+
 #include "mcd-service.h"
 
 
@@ -47,6 +50,7 @@ main (int argc, char **argv)
 
     g_type_init ();
 
+    tp_debug_set_flags (g_getenv ("TP_GLIB_DEBUG"));
 
     mcd = mcd_service_new ();
 
-- 
1.5.6.5




More information about the Telepathy-commits mailing list