plug-ins: fix a bunch of Scheme scripts after API functions renaming.
Since we renamed a bunch of functions for consistency (the like of gimp_image_width() to gimp_image_get_width() and others), most Scheme scripts ended up broken. This is a simple bash fix with `sed` to at least take care of these simple renaming cases. Many scripts are still broken for other reasons after our API evolution (to be continued).
This commit is contained in:
@ -5,8 +5,8 @@
|
||||
|
||||
(define (script-fu-unsharp-mask img drw mask-size mask-opacity)
|
||||
(let* (
|
||||
(drawable-width (car (gimp-drawable-width drw)))
|
||||
(drawable-height (car (gimp-drawable-height drw)))
|
||||
(drawable-width (car (gimp-drawable-get-width drw)))
|
||||
(drawable-height (car (gimp-drawable-get-height drw)))
|
||||
(new-image (car (gimp-image-new drawable-width drawable-height RGB)))
|
||||
(original-layer (car (gimp-layer-new new-image
|
||||
drawable-width drawable-height
|
||||
|
Reference in New Issue
Block a user