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:
Kevin Cozens 2005-06-01 21:22:49 +00:00 committed by Kevin Cozens
parent b2465d29f7
commit 0e2db63c8d
1 changed files with 3 additions and 3 deletions

View File

@ -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)
)