[gimp] libgimpcolor: follow API updates in babl



commit d0bb3efff4c12e737e0f84574d91a0b965e3e954
Author: Øyvind Kolås <pippin gimp org>
Date:   Tue Oct 3 16:15:46 2017 +0200

    libgimpcolor: follow API updates in babl

 libgimpcolor/gimpcolorprofile.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgimpcolor/gimpcolorprofile.c b/libgimpcolor/gimpcolorprofile.c
index a9beb64..8746d47 100644
--- a/libgimpcolor/gimpcolorprofile.c
+++ b/libgimpcolor/gimpcolorprofile.c
@@ -1478,9 +1478,9 @@ gimp_color_profile_get_format (GimpColorProfile          *profile,
   g_return_val_if_fail (format != NULL, NULL);
   g_return_val_if_fail (error == NULL || *error == NULL, NULL);
 
-  space = babl_space_from_icc ((const gchar *) profile->priv->data,
+  space = babl_icc_make_space ((const gchar *) profile->priv->data,
                                profile->priv->length,
-                               intent,
+                               (BablIccIntent)intent,
                                &babl_error);
 
   if (! space)


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