app: make color profile conversions undoable again

which I broke in commit abe3ad37. Spotted by Massimo.
This commit is contained in:
Michael Natterer 2015-10-21 20:23:55 +02:00
parent 61ae6b10de
commit b9305c7e67
1 changed files with 5 additions and 0 deletions

View File

@ -517,6 +517,11 @@ gimp_image_convert_profile_rgb (GimpImage *image,
nth_drawable++;
gimp_drawable_push_undo (drawable, NULL, NULL,
0, 0,
gimp_item_get_width (GIMP_ITEM (drawable)),
gimp_item_get_height (GIMP_ITEM (drawable)));
gimp_gegl_convert_color_profile (gimp_drawable_get_buffer (drawable),
NULL,
src_profile,