]> git.0d.be Git - empathy.git/commitdiff
Call tp_debug_set_flags() to get tp-glib debug messages
authorXavier Claessens <xclaesse@src.gnome.org>
Mon, 3 Dec 2007 10:54:13 +0000 (10:54 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Mon, 3 Dec 2007 10:54:13 +0000 (10:54 +0000)
svn path=/trunk/; revision=458

libempathy/empathy-debug.c

index c3e5d74b0118e8499918fbd39576af3c2effc42b..f395730251c3664dc624b2bd54db38f7550856d5 100644 (file)
@@ -34,6 +34,8 @@
 #include <glib/gprintf.h>
 #include <glib/gstdio.h>
 
+#include <telepathy-glib/debug.h>
+
 /* Set EMPATHY_DEBUG to a colon/comma/space separated list of domains, or "all"
  * to get all debug output.
  */
@@ -53,6 +55,7 @@ debug_init (void)
                gint         i;
 
                env = g_getenv ("EMPATHY_DEBUG");
+               tp_debug_set_flags (env);
 
                if (env) {
                        debug_strv = g_strsplit_set (env, ":, ", 0);