app: silence warning in gimp_transform_resize_crop()

The crop-to-result and crop-with-aspect transform-boundary
algorithms seem to consistently fail in some cases, and spit out a
warning, which can be too verbose if it triggers the debug dialog.

Demote the warning to a g_printerr(), with an eye to just dropping
these algorithms altogether.
This commit is contained in:
Ell 2020-01-17 00:26:14 +02:00
parent 52cd27f0d3
commit 0103fe2c19
1 changed files with 1 additions and 1 deletions

View File

@ -356,7 +356,7 @@ gimp_transform_resize_crop (const GimpVector2 *orig_points,
/* saveguard if something went wrong, adjust and give warning */
gimp_transform_resize_adjust (orig_points, n_points,
x1, y1, x2, y2);
g_warning ("no rectangle found by algorithm, no cropping done");
g_printerr ("no rectangle found by algorithm, no cropping done\n");
return;
}
else