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 ininitialization of the program. I'm talking about a library. We managed to fix this by adding an init() function in our library. Cheers,-- Jonh Wendellwww.bani.com.br _______________________________________________gtk-list mailing listgtk-list@xxxxxxxxxxxxx://mail.gnome.org/mailman/listinfo/gtk-list