david rohde <[EMAIL PROTECTED]> writes:

> I have been trying to port a plug-in that I have been writing to the latest
> gimp, but I have been having troubles.
> Firstly a lot of the constants that were defined in 1.18 are no longer defined
> in 1.20 for example RGB.  Is this a deliberate change, I find it a strange
> thing to remove from the header.  What approach should I be using to deal with
> this?

Assuming you are porting to 1.2.x, running the following script does most of 
the work for you:


Make sure to do a backup before you run it and check the diff. You need to 
fix the RGB -> GIMP_RGB issue yourselves since the script is not intelligent
enough for this (it's a quick hack).

Together with the libgimp API reference, it shouldn't be too hard to port
to 1.2.x. Perhaps you could write down what you had to do, so we can point
other people to this document later?!

Salut, Sven

Reply via email to