Em Sex, 2008-03-28 às 17:35 +1100, Andrew Cowie escreveu: > Hey John. How you been?
Hi, Andrew! Thanks for your reply. > On Wed, 2008-03-26 at 18:53 -0300, Jonh Wendell wrote: > > I'm writing a library and want to print debug messages, by using > > g_debug() macro. Is there a way to hide them by default, and let the > > caller app show it by using g_set_handler()? > > You might try g_log_set_default_handler() The problem is that this should be called at some point in initialization of the program. I'm talking about a library. We managed to fix this by adding an init() function in our library. Cheers, -- Jonh Wendell www.bani.com.br _______________________________________________ gtk-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtk-list
