Changed PDB_CHANNEL return type to PDB_INT32 for "is_floating_sel",

removed excess paramters in add-bevel, bovinated-logo, comic-logo,
gradient-bevel-logo, and pupi-button script fus (strangely they were
working fine even with excess parameters)
This commit is contained in:
Seth Burgess 1998-10-06 04:27:54 +00:00
parent a43763b106
commit 9474b2ad8b
6 changed files with 28 additions and 12 deletions

View file

@ -1,3 +1,18 @@
Mon Oct 5 01:08:11 CST 1998 Seth Burgess <sjburges@gimp.org>
* app/layer_cmds.c: Changed "is_floating_sel" from PDB_CHANNEL
to PDB_INT32
* plug-ins/script-fu/scripts/add-bevel.scm
* plug-ins/script-fu/scripts/bovinated-logo.scm
* plug-ins/script-fu/scripts/comic-logo.scm
* plug-ins/script-fu/scripts/gradient-bevel-logo.scm
* plug-ins/script-fu/scripts/pupi-button.scm:
removed extra paramters from some function calls that
didn't break script-fu but were wrong anyway.
Many thanks to Marc Lehman for reporting these. More to come.
Mon Oct 5 23:56:09 EEST 1998 Lauri Alanko <nether@gimp.org>
* po/fr.po: fixed a compile-halting typo
@ -30,6 +45,7 @@ Mon Oct 5 00:28:58 PDT 1998 Manish Singh <yosh@gimp.org>
* configure.in: added German translation from Daniel Egger
<Daniel.Egger@t-online.de>
>>>>>>> 1.651
Sun Oct 4 22:18:11 BST 1998 Adam D. Moss <adam@gimp.org>
* app/palette.c: Had a look at making the window resizable,

View file

@ -210,7 +210,7 @@
"RGB RGBA GRAY GRAYA"
SF-IMAGE "Image" 0
SF-DRAWABLE "Drawable" 0
SF-VALUE "Thickness" "5"
SF-ADJUSTMENT "Thickness" "5"
SF-TOGGLE "Work on copy" TRUE
SF-TOGGLE "Keep bump layer" FALSE
)

View file

@ -34,13 +34,13 @@
(gimp-image-add-layer img bg-layer 1)
(gimp-image-add-layer img blur-layer 1)
(gimp-selection-all img bg-layer)
(gimp-selection-all img)
(gimp-edit-fill img bg-layer)
(gimp-selection-none img)
(gimp-layer-set-preserve-trans blur-layer TRUE)
(gimp-palette-set-background '(255 255 255))
(gimp-selection-all img blur-layer)
(gimp-selection-all img)
(gimp-edit-fill img blur-layer)
(gimp-edit-clear img blur-layer)
(gimp-palette-set-background '(191 191 191))
@ -51,7 +51,7 @@
(plug-in-gauss-rle 1 img blur-layer 5.0 1 1)
(gimp-selection-none img)
(gimp-layer-set-preserve-trans text-layer TRUE)
(gimp-selection-all img text-layer)
(gimp-selection-all img)
(plug-in-solid-noise 1 img text-layer 0 0 23 1 16.0 4.0)
(gimp-brightness-contrast img text-layer 0 127)
(gimp-selection-none img)

View file

@ -38,13 +38,13 @@
(gimp-image-add-layer img black-layer 1)
(gimp-layer-set-name black-layer "Black")
(gimp-selection-all img bg-layer)
(gimp-selection-all img)
(gimp-edit-fill img bg-layer)
(gimp-selection-none img)
(gimp-layer-set-preserve-trans white-layer TRUE)
(gimp-palette-set-background '(255 255 255))
(gimp-selection-all img white-layer)
(gimp-selection-all img)
(gimp-edit-fill img white-layer)
(gimp-layer-set-preserve-trans white-layer FALSE)
(plug-in-spread 1 img white-layer (* 3 ol-width) (* 3 ol-width))
@ -54,7 +54,7 @@
(gimp-palette-set-background '(0 0 0))
(gimp-layer-set-preserve-trans black-layer TRUE)
(gimp-selection-all img black-layer)
(gimp-selection-all img)
(gimp-edit-fill img black-layer)
(gimp-selection-none img)
(gimp-layer-set-preserve-trans black-layer FALSE)
@ -63,7 +63,7 @@
(gimp-gradients-set-active gradient)
(gimp-layer-set-preserve-trans text-layer TRUE)
(gimp-selection-all img text-layer)
(gimp-selection-all img)
(gimp-blend img text-layer CUSTOM NORMAL LINEAR 100 0 REPEAT-NONE FALSE 0 0 0 (* 2 border) 0 (- height border))
(plug-in-noisify 1 img text-layer 0 0.20 0.20 0.20 0.20)
(gimp-selection-none img)

View file

@ -36,13 +36,13 @@
(gimp-image-add-layer img bg-layer 1)
(gimp-image-add-layer img blur-layer 1)
(gimp-selection-all img bg-layer)
(gimp-selection-all img)
(gimp-edit-fill img bg-layer)
(gimp-selection-none img)
(gimp-layer-set-preserve-trans blur-layer TRUE)
(gimp-palette-set-background '(255 255 255))
(gimp-selection-all img blur-layer)
(gimp-selection-all img)
(gimp-edit-fill img blur-layer)
(gimp-edit-clear img blur-layer)
(gimp-selection-none img)
@ -54,7 +54,7 @@
(gimp-palette-set-background '(127 127 127))
(gimp-palette-set-foreground '(255 255 255))
(gimp-layer-set-preserve-trans text-layer TRUE)
(gimp-selection-all img text-layer)
(gimp-selection-all img)
(gimp-blend img text-layer FG-BG-RGB NORMAL RADIAL 95 0 REPEAT-NONE FALSE 0 0 indentX indentY indentX (- height indentY))
(gimp-selection-none img)
(gimp-layer-set-preserve-trans text-layer FALSE)

View file

@ -37,7 +37,7 @@
(gimp-ellipse-select img (+ x (- width diameter)) y
diameter height ADD FALSE 0 0)
(gimp-rect-select img (+ x (/ diameter 2)) y
(- width diameter) height ADD FALSE 0 0)))
(- width diameter) height ADD FALSE 0)))
(define (script-fu-round-button text
size