API PATCH #2 or so
This commit is contained in:
@ -31,7 +31,7 @@
|
||||
(old-fg (car (gimp-palette-get-foreground)))
|
||||
(old-bg (car (gimp-palette-get-background))))
|
||||
|
||||
(gimp-image-disable-undo img)
|
||||
(gimp-image-undo-disable img)
|
||||
(gimp-image-resize img width height 0 0)
|
||||
|
||||
(gimp-image-add-layer img bg-layer 1)
|
||||
@ -63,7 +63,7 @@
|
||||
(gimp-layer-set-name text-layer text)
|
||||
(gimp-palette-set-background old-bg)
|
||||
(gimp-palette-set-foreground old-fg)
|
||||
(gimp-image-enable-undo img)
|
||||
(gimp-image-undo-enable img)
|
||||
(gimp-display-new img)))
|
||||
|
||||
(script-fu-register "script-fu-chalk-logo"
|
||||
|
||||
Reference in New Issue
Block a user