Re: Replacing Imlib in the GNOME libraries



Miguel de Icaza <miguel@gnu.org> writes:
[snip]
> * The library split
> -------------------
> 
> Here is where problems begin from the binary compatibility with older
> software point of view.  
> 
> I think we can split gnomeui to address this.  For the purpose of this
> discussion I will use some sample names: 
> 
> 	libgnomeui-simple.a:
> 		Would contain only GdkPixBuf/ArtPixBuf code.
> 		No knowledge on GdkImlib at all.
> 
> 	libgnomeui.a:
> 		Would be libgnomeui-simple.a plus the wrapper functions.
> 
> Does this sound good?

I don't think we should go this way.  This'll cause a long term
renaming of `libgnomeui' to `libgnomeui-simple'.  My suggestion would
be to introduce a new API altogether for the ArtPixbuf stuff.  So,
instead of

        GdkImlibImage *gnome_canvas_load_alpha(char *)

use

        ArtPixbuf *gnome_canvas_load_picture(char *)

We can move all the GdkImlib functions declarations into
gnome-compat.h, and flag them as obsolete.

- Hari
-- 
Raja R Harinath ------------------------------ harinath@cs.umn.edu
"When all else fails, read the instructions."      -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing."   -- Roy L Ash



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