app: change gimp_image_crop() to use x, y, width, height

This commit is contained in:
Michael Natterer
2015-07-03 18:56:59 +02:00
parent 33d7b6005e
commit d6c578c567
8 changed files with 34 additions and 38 deletions

View File

@ -195,7 +195,7 @@ HELP
success = FALSE;
else
gimp_image_crop (image, context,
offx, offy, offx + new_width, offy + new_height,
offx, offy, new_width, new_height,
TRUE);
}
CODE

View File

@ -309,7 +309,7 @@ HELP
}
gimp_image_crop (image, context,
x1, y1, x2, y2, TRUE);
x1, y1, x2 - x1, y2 - y1, TRUE);
gimp_image_undo_group_end (image);
}