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:
Jehan
2021-04-20 17:47:11 +02:00
parent 0b750eca6f
commit fb84b9eba7
34 changed files with 100 additions and 100 deletions

View File

@ -37,8 +37,8 @@
(gimp-context-set-foreground color)
(set! text-layer (car (gimp-text-fontname img -1 0 0 text 10 TRUE size PIXELS font)))
(set! width (car (gimp-drawable-width text-layer)))
(set! height (car (gimp-drawable-height text-layer)))
(set! width (car (gimp-drawable-get-width text-layer)))
(set! height (car (gimp-drawable-get-height text-layer)))
(gimp-image-resize img width height 0 0)
(gimp-image-undo-enable img)