[Freeciv-Dev] Re: (PR#2455) dead functions in GUI interface
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Wed, 2002-12-18 at 21:11, Jason Short via RT wrote:
>
> [rfalke - Wed Dec 18 13:38:01 2002]:
>
> > > -void free_color_system(void);
> >
> > This should stay. It can/should be called from common code.
>
> Sounds good.
Actually this isn't as easy as it seems.
Only GTK and GTK-2.0 clients implement this function. Most of the
others could use it, though.
But this function corresponds to init_color_system. Currently both
functions are called in ui_main(). So, they should both instead be
called from main(). But this isn't easy under all GUIs since it changes
the order in which functions are called. In GTK and GTK-2.0, I believe
it will mean moving some initialization code up into ui_init(), which is
otherwise empty.
jason
Message not available
Message not available
|
|