app: s/g_warning/g_printerr/ when GDK returns a bogus resolution

This is not a programming error, so no g_warning() must be used.
This commit is contained in:
Michael Natterer 2014-05-03 17:17:46 +02:00
parent 4202d29347
commit a07f2301bb

View file

@ -771,8 +771,8 @@ gimp_get_monitor_resolution (GdkScreen *screen,
if (x < GIMP_MIN_RESOLUTION || x > GIMP_MAX_RESOLUTION ||
y < GIMP_MIN_RESOLUTION || y > GIMP_MAX_RESOLUTION)
{
g_warning ("GDK returned bogus values for the monitor resolution, "
"using 96 dpi instead.");
g_printerr ("gimp_get_monitor_resolution(): GDK returned bogus "
"values for the monitor resolution, using 96 dpi instead.");
x = 96.0;
y = 96.0;