[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sat, 12 Feb 2011 17:00:55 +0000
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.
this is the change:
debug_handler (const gchar *log_domain, GLogLevelFlags log_level,
const gchar *message, gpointer user_data)
- g_print (message);
+ //g_debug ("%s",message);
@@ -438,7 +436,8 @@ main (int argc, char *argv)
/* 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 <=