[gimp] libgimpcolor: better error messages in GimpColorProfile and GimpColorTransform



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

    libgimpcolor: better error messages in GimpColorProfile and GimpColorTransform

 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 2b57b5c6db..fc452fd82c 100644
--- a/libgimpcolor/gimpcolorprofile.c
+++ b/libgimpcolor/gimpcolorprofile.c
@@ -1657,7 +1657,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 b0b113e7e8..ff9d7c26f5 100644
--- a/libgimpcolor/gimpcolortransform.c
+++ b/libgimpcolor/gimpcolortransform.c
@@ -217,7 +217,7 @@ gimp_color_transform_new (GimpColorProfile         *src_profile,
                                                     &error);
   if (! priv->src_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);
     }
@@ -228,7 +228,7 @@ gimp_color_transform_new (GimpColorProfile         *src_profile,
                                                      &error);
   if (! priv->dest_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]