mirror of https://github.com/GNOME/gimp.git
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.
This commit is contained in:
parent
2fd72be1bc
commit
f4d3161661
|
@ -1,3 +1,10 @@
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue