mirror of https://github.com/GNOME/gimp.git
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:
parent
52cd27f0d3
commit
0103fe2c19
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue