/pidgin/main: 973dff96780a: Debug: introduce PIDGIN_DEBUG_COLORE...

Tomasz Wasilczyk twasilczyk at pidgin.im
Tue Apr 8 08:37:34 EDT 2014


Changeset: 973dff96780aa2fba4551c0c926804d09d42faa3
Author:	 Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date:	 2014-04-08 14:37 +0200
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/973dff96780a

Description:

Debug: introduce PIDGIN_DEBUG_COLORED env var

diffstat:

 pidgin/libpidgin.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff --git a/pidgin/libpidgin.c b/pidgin/libpidgin.c
--- a/pidgin/libpidgin.c
+++ b/pidgin/libpidgin.c
@@ -688,6 +688,8 @@ int pidgin_start(int argc, char *argv[])
 	 * Fire up this baby.
 	 */
 
+	if (g_getenv("PIDGIN_DEBUG_COLORED") != NULL)
+		debug_colored = TRUE;
 	purple_debug_set_enabled(debug_enabled);
 	purple_debug_set_colored(debug_colored);
 



More information about the Commits mailing list