Re: whither gnome_program_init ?



Bill Haneman <Bill Haneman sun com> writes:
> Havoc said, regarding getting program name and version:
> 
> >g_get_prgname() returns the name, there is no existing way to get the
> >version.
> >
> >Havoc
> 
> Seems like an omission.  Mind if we file a bug?
> 

Sure, though it isn't obvious to me how to fix this - we can't break
gtk_init() I don't think, so it would have to be
g_program_set_version() or something, and people would probably never
think to call that function... I guess we can easily enough have
gnome_init() call it, so lots of apps would end up setting the
version.

Havoc







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