Re: [Gimp-developer] Converting old plug-ins to wirk with gimp-1.3.20 (gimp-2)

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

 



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

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


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux