Commit a07f2301 authored by Michael Natterer's avatar Michael Natterer 😴

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.
parent 4202d293
...@@ -771,8 +771,8 @@ gimp_get_monitor_resolution (GdkScreen *screen, ...@@ -771,8 +771,8 @@ gimp_get_monitor_resolution (GdkScreen *screen,
if (x < GIMP_MIN_RESOLUTION || x > GIMP_MAX_RESOLUTION || if (x < GIMP_MIN_RESOLUTION || x > GIMP_MAX_RESOLUTION ||
y < GIMP_MIN_RESOLUTION || y > GIMP_MAX_RESOLUTION) y < GIMP_MIN_RESOLUTION || y > GIMP_MAX_RESOLUTION)
{ {
g_warning ("GDK returned bogus values for the monitor resolution, " g_printerr ("gimp_get_monitor_resolution(): GDK returned bogus "
"using 96 dpi instead."); "values for the monitor resolution, using 96 dpi instead.");
x = 96.0; x = 96.0;
y = 96.0; y = 96.0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment