[gimp/gimp-2-10] libgimpcolor: better error messages in GimpColorProfile and GimpColorTransform



commit fa173b967543b2f89e6c11f6b6f2d943cdad9d3a
Author: Michael Natterer <mitch gimp org>
Date:   Tue May 28 17:37:08 2019 +0200

    libgimpcolor: better error messages in GimpColorProfile and GimpColorTransform
    
    (cherry picked from commit 890b554230fda231689c3f791f051877e7e948b5)

 libgimpcolor/gimpcolorprofile.c   | 2 +-
 libgimpcolor/gimpcolortransform.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libgimpcolor/gimpcolorprofile.c b/libgimpcolor/gimpcolorprofile.c
index 9beef491e9..19db7e3e40 100644
--- a/libgimpcolor/gimpcolorprofile.c
+++ b/libgimpcolor/gimpcolorprofile.c
@@ -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",
diff --git a/libgimpcolor/gimpcolortransform.c b/libgimpcolor/gimpcolortransform.c
index 99af7e6a34..b01f73956e 100644
--- a/libgimpcolor/gimpcolortransform.c
+++ b/libgimpcolor/gimpcolortransform.c
@@ -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);
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]