[gimp] app: update babl API usage



commit e707e55f82ac7cc9efc45176197dbd321b34a106
Author: Øyvind Kolås <pippin gimp org>
Date:   Mon Jul 16 19:01:45 2018 +0200

    app: update babl API usage
    
    The space constructor from icc profile is now name spaced in the same
    prefix as all the other space constructors in babl.

 libgimpcolor/gimpcolorprofile.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgimpcolor/gimpcolorprofile.c b/libgimpcolor/gimpcolorprofile.c
index fe7c10cfa5..dfc90975ae 100644
--- a/libgimpcolor/gimpcolorprofile.c
+++ b/libgimpcolor/gimpcolorprofile.c
@@ -1476,7 +1476,7 @@ gimp_color_profile_get_space (GimpColorProfile          *profile,
   g_return_val_if_fail (GIMP_IS_COLOR_PROFILE (profile), NULL);
   g_return_val_if_fail (error == NULL || *error == NULL, NULL);
 
-  space = babl_icc_make_space ((const gchar *) profile->priv->data,
+  space = babl_space_from_icc ((const gchar *) profile->priv->data,
                                profile->priv->length,
                                (BablIccIntent) intent,
                                &babl_error);


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