]> git.0d.be Git - empathy.git/commitdiff
Display debug messages in the contact-manager tests program.
authorXavier Claessens <xclaesse@src.gnome.org>
Sun, 3 Aug 2008 09:04:05 +0000 (09:04 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Sun, 3 Aug 2008 09:04:05 +0000 (09:04 +0000)
svn path=/trunk/; revision=1287

tests/contact-manager.c

index 75bfc7faea671d9daf1776d485bd7a65392a0e69..31a6012498b66dca9b6ab2b6c2ef799bec13a625 100644 (file)
@@ -2,6 +2,8 @@
 
 #include <glib.h>
 #include <libempathy/empathy-contact-manager.h>
+#include <libempathy/empathy-debug.h>
+
 
 static gboolean
 time_out (gpointer main_loop)
@@ -19,6 +21,7 @@ main (int argc, char **argv)
 
        g_type_init ();
 
+       empathy_debug_set_flags (g_getenv ("EMPATHY_DEBUG"));
        main_loop = g_main_loop_new (NULL, FALSE);
        manager = empathy_contact_manager_new ();