Re: Re: console window

"Phroggie" <[email protected]> Mon, 27 Jan 2003 19:00:59 -0600
Newsgroups gmane.comp.video.gimp.windows.devel
Message-ID <007001c2c668$b895aaf0$8601a8c0@charlotte>
Maybe something along these lines would be nice:
g_log_set_handler(ALL_DOMAINS, G_LOG_LEVEL_ALL, log_handler, NULL). Maybe
instead, one could simply #define NO_CONSOLE, and it would nullify anything
attempting to write to a console. I'm sure that there's many ways to
accomplish something similar to this. These needn't apply only to window's
glib, either, as I'm sure there's *nix applications looking for similiar log
handling. I agree with Allin, though. I think that a console window should
appear unless the application specificaly requests not to spawn a console,
whether it be through numerous g_log_set_handler calls or some other means.

--Lee

----- Original Message -----
From: Allin Cottrell
To: [email protected]
Sent: Monday, January 27, 2003 18:12
Subject: RE: [gimpwin-dev] Re: console window


> On Mon, 27 Jan 2003, Tor Lillqvist wrote:
>
> > I guess this boils down to, which is worse, irritating warning
> > messages now and then in ugly white-on-black console windows (that
> > some people insist calling "DOS boxes", brrrr), or losing
> > potentially useful warning and error messages?
>
> I say leave well alone.  The warnings may be useful to the programmer,
> but if he/she decides in the end they are meaningless, he/she can
> suppress them via g_log_set_handler().
>
> Allin Cottrell.


To Post a message, send it to:   [email protected]
To Unsubscribe, send a blank message to: [email protected] 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/