Re: gnome-program.h: defining variables in headers



On 5 Dec 2001, Havoc Pennington wrote:

> I'd say that if some apps in CVS are really using this for something
> reasonable/common, we should do the first thing (provide accessors).
> If however no one is using it or the uses of it are
> obscure/weird/crack-ridden, we should just delete the whole deal as
> Glynn suggests.
> 
> g_get_prgname() seems like it's probably appropriate for most uses.

I wasn't aware of g_get_prgname(). In this case, I propose removing the
variables from libgnome and using g_set_prgname() in gnome_init.
BTW, why isn't g_get_prgname()'s return value declared const?

-- 
   .--= ULLA! =---------------------.   `We are not here to give users what
   \     http://cactus.rulez.org     \   they want'  -- RMS, at GUADEC 2001
    `---= cactus cactus rulez org =---'
Nem vagyok sznob. Kérdezz meg bárkit. Úgy értem, bárkit, aki számít.




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