Re: PATCH: Re: Gtk-CRITICAL error

"Sergio A. Kessler" <> writes:

> > > Your patch makes testglib and and any other program that does not
> > > use g_set_prgname crash.
> maybe fixing this programs will also be good ...

A program doesn't _have_ to use g_set_prgname, so there is nothing to
fix in testglib.

> why you don't do just only one 'if' like:
> if (!prgname) then prgname = 'unknown'      (you get the idea, no?)

Yes, I get the idea, but I think the way I did it is a bit more
clear. It is not very important.

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