From a07f2301bbdf44ef00fba738f2ba157cd3546e39 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Sat, 3 May 2014 17:17:46 +0200 Subject: [PATCH] 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. --- app/widgets/gimpwidgets-utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/widgets/gimpwidgets-utils.c b/app/widgets/gimpwidgets-utils.c index ceb0850d28..ad036d8e52 100644 --- a/app/widgets/gimpwidgets-utils.c +++ b/app/widgets/gimpwidgets-utils.c @@ -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;