libgimpcolor: follow API updates in babl

This commit is contained in:
Øyvind Kolås 2017-10-03 16:15:46 +02:00
parent a7620b08aa
commit d0bb3efff4
1 changed files with 2 additions and 2 deletions

View File

@ -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)