Re: kill gdk_rgb_init?



Darin Adler <darin bentspoon com> writes:
> All that's left of this function is an endian check, which seems more appropriate for
> something that runs at "make check" time rather than something that every program needs
> to invoke.
> 
> So maybe we can get rid of this function, or at least mark it deprecated?
> 

I think:

#ifndef GDK_DISABLE_DEPRECATED
#define gdk_rgb_init() 
#endif

so it does nothing, would be fine. 

A prime example of a useless init function. ;-)

Havoc






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