empathy r1287 - trunk/tests



Author: xclaesse
Date: Sun Aug  3 09:04:05 2008
New Revision: 1287
URL: http://svn.gnome.org/viewvc/empathy?rev=1287&view=rev

Log:
Display debug messages in the contact-manager tests program.


Modified:
   trunk/tests/contact-manager.c

Modified: trunk/tests/contact-manager.c
==============================================================================
--- trunk/tests/contact-manager.c	(original)
+++ trunk/tests/contact-manager.c	Sun Aug  3 09:04:05 2008
@@ -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 @@
 
 	g_type_init ();
 
+	empathy_debug_set_flags (g_getenv ("EMPATHY_DEBUG"));
 	main_loop = g_main_loop_new (NULL, FALSE);
 	manager = empathy_contact_manager_new ();
 



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