mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
libgimpcolor: use g_debug for informational "using babl ..." messages
We sometimes can get a lot of informational messages like: gimp_color_transform_new: using babl for 'sRGB IEC61966-2.1' -> 'GIMP built-in sRGB'. After discussion on IRC there is agreement to use g_debug for these instead of g_printerr. This way they can still be seen with GIMP_DEBUG=LibGimpColor, but won't clutter the console when looking at something else. Note that this only changes the informational message. All the error messages are left alone as g_printerr.
This commit is contained in:
parent
93ce9886a7
commit
dd67dd3287
1 changed files with 4 additions and 4 deletions
|
@ -238,10 +238,10 @@ gimp_color_transform_new (GimpColorProfile *src_profile,
|
|||
priv->fish = babl_fish (priv->src_format,
|
||||
priv->dest_format);
|
||||
|
||||
g_printerr ("%s: using babl for '%s' -> '%s'\n",
|
||||
G_STRFUNC,
|
||||
gimp_color_profile_get_label (src_profile),
|
||||
gimp_color_profile_get_label (dest_profile));
|
||||
g_debug ("%s: using babl for '%s' -> '%s'",
|
||||
G_STRFUNC,
|
||||
gimp_color_profile_get_label (src_profile),
|
||||
gimp_color_profile_get_label (dest_profile));
|
||||
|
||||
return transform;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue