Oops, my mistake. It was late and I looked up the deprecated functions to see they still need 'img'. I thought I had looked up their replacements before I commented. You are both right of course, that the replacement functions don't take the extra argument.
I was looking at the source (and gimpcompat.h) in order to build a list of deprecated functions for my Perl script that updates Script-Fu's written from the 1.2 GIMP to the 2.0 GIMP.
Thank you, Sven, for the comments about porting a plug-in to the 2.0 API. I haven't done a port of a C-based plug-in yet, but I want to try doing this with the Guash plug-in. The sample plug-in and your comments should help. Now all I need is the time in which to do the port. :-)
Owner of Elecraft K2 #2172 |"What are we going to do today, Borg?" E-mail:kcozens at interlog dot com|"Same thing we always do, Pinkutus: Packet:[EMAIL PROTECTED]| Try to assimilate the world!" #include <disclaimer/favourite> | -Pinkutus & the Borg
_______________________________________________ Gimp-developer mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer