Re: PATCH: Re: Gtk-CRITICAL error



> g_get_prgname() can return NULL, this would then segfault upon warnings.
>
> in general, there is no need to additionally prefix warnings, errors
> messages, etc... with the program name.
> through the log domains, we already feature specific compile time log
> layers. if the panel or other applications want their own warnings
> to appear prefixed, just define -DG_LOG_DOMAIN=\"PANEL\" upon their
> compilation.

Maybe this should be added as a default compilation flag, as I've never seen
anything setting it, and it would be a rather useful thing. Dunno how you'd
go about doing it, maybe in gtk-config --cflags.

Iain



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