Commit 33748d17 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

push an undo group instead of disabling undo on the image. Fixes bug

2003-04-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/tileblur.scm (script-fu-tile-blur):
	push an undo group instead of disabling undo on the image. Fixes
	bug #109681.
parent 6701ca7c
2003-04-01 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/tileblur.scm (script-fu-tile-blur):
push an undo group instead of disabling undo on the image. Fixes
bug #109681.
2003-04-01 Sven Neumann <sven@gimp.org>
 
* app/gui/toolbox-menu.c (toolbox_menu_entries): removed some
......@@ -23,7 +23,7 @@
(set! theHeight (car (gimp-drawable-height theLayer)))
(set! theWidth (car (gimp-drawable-width theLayer)))
(gimp-image-undo-disable theImage)
(gimp-undo-push-group-start theImage)
(gimp-layer-resize theLayer (* 3 theWidth) (* 3 theHeight) 0 0)
(gimp-rect-select theImage 0 0 theWidth theHeight REPLACE 0 0)
......@@ -44,7 +44,7 @@
(gimp-layer-resize theLayer theWidth theHeight (- 0 theWidth) (- 0 theHeight))
(gimp-layer-set-offsets theLayer 0 0)
(gimp-image-undo-enable theImage)
(gimp-undo-push-group-end theImage)
(gimp-displays-flush)
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment