Commit f4d31616 authored by Pedro Gimeno's avatar Pedro Gimeno Committed by Pedro Gimeno Fortea

changed a call to gimp_image_undo_enable to _undo_disable which was

2004-04-16  Pedro Gimeno  <pggimeno@wanadoo.es>

	* plug-ins/common/tile.c (tile): changed a call to
	gimp_image_undo_enable to _undo_disable which was obviously the
	intention of the author. Added a call to gimp_drawable_update to
	get the previews refreshed.
parent 2fd72be1
2004-04-16 Pedro Gimeno <pggimeno@wanadoo.es>
* plug-ins/common/tile.c (tile): changed a call to
gimp_image_undo_enable to _undo_disable which was obviously the
intention of the author. Added a call to gimp_drawable_update to
get the previews refreshed.
2004-04-16 Sven Neumann <sven@gimp.org>
* app/tools/gimpcolorpickertool.c
......
......@@ -260,7 +260,7 @@ tile (gint32 image_id,
new_image_id = gimp_image_new (tvals.new_width, tvals.new_height,
image_type);
gimp_image_undo_enable (new_image_id);
gimp_image_undo_disable (new_image_id);
*layer_id = gimp_layer_new (new_image_id, _("Background"),
tvals.new_width, tvals.new_height,
gimp_drawable_type (drawable_id),
......@@ -354,7 +354,9 @@ tile (gint32 image_id,
gimp_image_undo_group_end (image_id);
}
gimp_drawable_flush (drawable);
gimp_drawable_update (drawable->drawable_id,
0, 0,
drawable->width, drawable->height);
gimp_drawable_detach (drawable);
return new_image_id;
......
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