GNOME Bugzilla – Bug 321692
plugin filters->distort->curve_bend fails when calling depricated gimp-rotate
Last modified: 2008-01-15 14:05:00 UTC
Open an image. Select Filters->Distorts->Curve_bend. Check "Automatic preview". Enter a Rotate value. The following error will popup: GIMP Message WARNING: Plug-In "curve_bend" (/usr/local/gimp-2.3.5/lib/gimp/2.0/plug-ins/curve_bend) called deprecated procedure 'gimp-rotate'. It should call 'gimp-drawable-transform-rotate-default' instead! I tried to replace gimp-rotate in curve_bend.c with the new procedure, but it then complained about argument 2 being GIMP_PDB_INT32 but expecting GIMP_PDB_FLOAT. Tried to correct that and it complained about arg #3 - I got lost after that so could not figure out the fix - sorry.
Thanks for noticing this. Fixed in CVS: 2005-11-16 Manish Singh <yosh@gimp.org> * plug-ins/common/curve_bend.c (p_gimp_rotate): use gimp_drawable_transform_rotate_default instead of deprecated gimp-rotate PDB call. Fixes bug #321692.
The plug-in didn't fail though, it only spit out this warning and worked correctly, did it?
Correct. It did actually do the rotate (although I didn't realize that until you pointed it out - despite that it said "Warning" - not "Error" or whatever).