replaced undo-disable/enable by undo-group-start/end.

2004-11-11  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/lava.scm: replaced
	undo-disable/enable by undo-group-start/end.
This commit is contained in:
Michael Natterer
2004-11-11 13:09:15 +00:00
committed by Michael Natterer
parent cd7972a8c2
commit b08cf17353
2 changed files with 7 additions and 2 deletions

View File

@ -39,7 +39,7 @@
(gimp-context-push)
(gimp-image-undo-disable image)
(gimp-image-undo-group-start image)
(gimp-layer-add-alpha drawable)
(if (= (car (gimp-selection-is-empty image)) TRUE)
@ -92,7 +92,7 @@
(gimp-image-set-active-layer image drawable)
(gimp-image-remove-channel image active-selection)
(gimp-image-undo-enable image)
(gimp-image-undo-group-end image)
(gimp-displays-flush)
(gimp-context-pop)))