Quoting Rob Antonishen <rob.antonis...@gmail.com>:
> Brilliant - Thanks. I was confused by the message, not realizing that
> the initial INT32 in the error message was the image type (set to ""
> in my case).
Actually, the first argument is the RUN-MODE, which is implicit when
calling a Script-fu from another Script-fu (but must be supplied when
calling a plug-in). This convention is somewhat unfortunate because it
requires Script-fu authors to know what language a PDB function is
written in (or maybe I'm missing something).
Gimp-developer mailing list