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:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user