Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
GIMP
Commits
a07f2301
Commit
a07f2301
authored
May 03, 2014
by
Michael Natterer
😴
Browse files
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/widgets/gimpwidgets-utils.c
View file @
a07f2301
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment