Re: Independent image loaders in gdk-pixbuf



On Sun, 2002-09-22 at 17:06, Havoc Pennington wrote:
> 
> Matthias Clasen <maclas gmx de> writes:
> > Since these interfaces can not be guaranteed to be 100% stable (in
> > fact, the collection stuff which I talked about last week had to do
> > some changes to the image module SPI), it will be protected by
> > #ifdef GDK_PIXBUF_ENABLE_BACKEND (like e.g. the Pango backend
> > interface) and the GdkPixbufModule class will get some padding.
> 
> Maybe we should have some checksum enabling us to detect modules that
> were compiled against a too-old gdk-pixbuf-io?
> 
> Could be a simple GDK_PIXBUF_IO_INTERFACE_VERSION that gets compiled
> into the module then checked on module load.

I had almost convinced myself that this is unnecessary because the
loaders are installed in a versioned directory
$(libdir)/gtk-2.0/$(GTK_BINARY_VERSION)/loaders. But maybe it is better
to have some explicit interface version.

Matthias




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