libgimpcolor: better error messages in GimpColorProfile and GimpColorTransform
(cherry picked from commit 890b554230
)
This commit is contained in:
@ -1640,7 +1640,7 @@ gimp_color_profile_get_lcms_format (const Babl *format,
|
||||
}
|
||||
else
|
||||
{
|
||||
g_printerr ("format: %s\n"
|
||||
g_printerr ("format not supported: %s\n"
|
||||
"has_alpha = %s\n"
|
||||
"type = %s\n"
|
||||
"model = %s\n",
|
||||
|
@ -204,7 +204,7 @@ gimp_color_transform_new (GimpColorProfile *src_profile,
|
||||
&error);
|
||||
if (! priv->src_space_format)
|
||||
{
|
||||
g_printerr ("%s: error making format: %s\n",
|
||||
g_printerr ("%s: error making src format: %s\n",
|
||||
G_STRFUNC, error->message);
|
||||
g_clear_error (&error);
|
||||
}
|
||||
@ -215,7 +215,7 @@ gimp_color_transform_new (GimpColorProfile *src_profile,
|
||||
&error);
|
||||
if (! priv->dest_space_format)
|
||||
{
|
||||
g_printerr ("%s: error making format: %s\n",
|
||||
g_printerr ("%s: error making dest format: %s\n",
|
||||
G_STRFUNC, error->message);
|
||||
g_clear_error (&error);
|
||||
}
|
||||
|
Reference in New Issue
Block a user