[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Denemo-devel] g_debug
From: |
Richard Shann |
Subject: |
[Denemo-devel] g_debug |
Date: |
Sat, 12 Feb 2011 17:00:55 +0000 |
Jeremiah,
the g_debug output has been turned on for my build params, there was a
handler that intended (by the look of the code) for DEBUG to control it.
But the handler setting has gone, and now it's on all the time.
How do you turn it off? The docs are mute.
Richard
this is the change:
debug_handler (const gchar *log_domain, GLogLevelFlags log_level,
const gchar *message, gpointer user_data)
{
-#ifdef DEBUG
- g_print (message);
-#endif
+ //g_debug ("%s",message);
}
@@ -438,7 +436,8 @@ main (int argc, char *argv[])
//#endif
/* set the default handler for debug messages */
- g_log_set_handler (NULL, G_LOG_LEVEL_DEBUG, debug_handler, NULL);
+ //FIXME this does not work
+ //g_log_set_handler (NULL, G_LOG_LEVEL_DEBUG, debug_handler, NULL);
- [Denemo-devel] g_debug,
Richard Shann <=