On Mon, 2003-09-29 at 06:44, Sven Neumann wrote:

> If your plug-in still needs GIMP_ENABLE_COMPAT_CRUFT, it hasn't been
> ported to gimp-1.2 yet. Of course you need to do that first.

Do I need to do anything except replace the old cruft with the new calls
as specified in gimp-1.2.5/libgimp/gimpcompat.h?

> Assuming you have a gimp-1.2 plug-in, here's what you do to port it to
> the 1.3 API:
> (1) Replace all occurances of drawable->id with drawable->drawable_id.
> (2) Include <libgimp/gimpcompat.h>.
> (3) Fix whatever problems remain (if you are lucky, there are none).
> (4) Look at gimpcompat.h and do the changes described there.
> (5) Remove the inclusion of gimpcompat.h again.

Thanks for your prompt and helpful reply.  It looks like I found most of
the required changes. I'll get busy converting and let you know how it
all comes out.



Jeff Trefftzs <[EMAIL PROTECTED]>
http://www.tcsn.net/trefftzs                    Home Page
http://gug.sunsite.dk/gallery.php?artist=68     Gimp Gallery
http://trefftzs.topcities.com/                  Photo Gallery 

Gimp-developer mailing list

Reply via email to