Re: [gtk-list] Bug: g_message prints to stdout and not to stderr



On Wed, 10 Feb 1999, Ullrich Hafner wrote:

> If this is an intended feature: is there a way (configure option or
> system call) to avoid such an output? I think that using stdin/stdout
> for pipes is a common UNIX feature...

See "g_set_message_handler" in the file glib.h.  Note that g_message is
deprecated, and that you should consider switching to g_log, since it is
more general.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]