mirror of https://github.com/GNOME/gimp.git
Use 'gimp-image-set-colormap' instead of deprecated call
2005-06-01 Kevin Cozens <kcozens@cvs.gimp.org> * scripts/tiny-fu-set-cmap.sct: Use 'gimp-image-set-colormap' instead of deprecated call 'gimp-image-set-cmap'. Spotted by Joao S. O. Bueno.
This commit is contained in:
parent
b2465d29f7
commit
0e2db63c8d
|
@ -44,9 +44,9 @@
|
|||
)
|
||||
|
||||
(define (tiny-fu-set-cmap img drawable palette)
|
||||
(gimp-image-set-cmap img
|
||||
(* (car (gimp-palette-get-info palette)) 3)
|
||||
(tiny-fu-make-cmap-array palette))
|
||||
(gimp-image-set-colormap img
|
||||
(* (car (gimp-palette-get-info palette)) 3)
|
||||
(tiny-fu-make-cmap-array palette))
|
||||
(gimp-displays-flush)
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue