Commit c63d812b authored by Michael Natterer's avatar Michael Natterer 😴

libgimpcolor: rename gimp_color_profile_get_format() to _get_lcms_format()

parent f59a6356
......@@ -681,8 +681,8 @@ gimp_drawable_filter_sync_transform (GimpDrawableFilter *filter)
* calls below)
*/
if (has_input)
input_format = gimp_color_profile_get_format (input_format, &dummy);
output_format = gimp_color_profile_get_format (output_format, &dummy);
input_format = gimp_color_profile_get_lcms_format (input_format, &dummy);
output_format = gimp_color_profile_get_lcms_format (output_format, &dummy);
g_printerr ("profile transform drawable format: %s\n",
babl_get_name (drawable_format));
......
......@@ -162,7 +162,7 @@ gimp_color_profile_is_rgb
gimp_color_profile_is_gray
gimp_color_profile_is_cmyk
gimp_color_profile_is_linear
gimp_color_profile_get_format
gimp_color_profile_get_lcms_format
<SUBSECTION Standard>
GIMP_COLOR_PROFILE
GIMP_COLOR_PROFILE_CLASS
......
......@@ -27,9 +27,9 @@ EXPORTS
gimp_color_managed_profile_changed
gimp_color_profile_get_copyright
gimp_color_profile_get_description
gimp_color_profile_get_format
gimp_color_profile_get_icc_profile
gimp_color_profile_get_label
gimp_color_profile_get_lcms_format
gimp_color_profile_get_lcms_profile
gimp_color_profile_get_manufacturer
gimp_color_profile_get_model
......
......@@ -1458,7 +1458,7 @@ gimp_color_profile_new_d50_gray_lab_trc (void)
}
/**
* gimp_color_profile_get_format:
* gimp_color_profile_get_lcms_format:
* @format: a #Babl format
* @lcms_format: return location for an lcms format
*
......@@ -1476,8 +1476,8 @@ gimp_color_profile_new_d50_gray_lab_trc (void)
* Since: 2.10
**/
const Babl *
gimp_color_profile_get_format (const Babl *format,
guint32 *lcms_format)
gimp_color_profile_get_lcms_format (const Babl *format,
guint32 *lcms_format)
{
const Babl *output_format = NULL;
const Babl *type;
......
......@@ -111,7 +111,7 @@ gboolean gimp_color_profile_is_cmyk (GimpColorProfile *
gboolean gimp_color_profile_is_linear (GimpColorProfile *profile);
const Babl * gimp_color_profile_get_format (const Babl *format,
const Babl * gimp_color_profile_get_lcms_format (const Babl *format,
guint32 *lcms_format);
......
......@@ -214,10 +214,10 @@ gimp_color_transform_new (GimpColorProfile *src_profile,
src_lcms = gimp_color_profile_get_lcms_profile (src_profile);
dest_lcms = gimp_color_profile_get_lcms_profile (dest_profile);
priv->src_format = gimp_color_profile_get_format (src_format,
&lcms_src_format);
priv->dest_format = gimp_color_profile_get_format (dest_format,
&lcms_dest_format);
priv->src_format = gimp_color_profile_get_lcms_format (src_format,
&lcms_src_format);
priv->dest_format = gimp_color_profile_get_lcms_format (dest_format,
&lcms_dest_format);
lcms_error_clear ();
......@@ -296,10 +296,10 @@ gimp_color_transform_new_proofing (GimpColorProfile *src_profile,
dest_lcms = gimp_color_profile_get_lcms_profile (dest_profile);
proof_lcms = gimp_color_profile_get_lcms_profile (proof_profile);
priv->src_format = gimp_color_profile_get_format (src_format,
&lcms_src_format);
priv->dest_format = gimp_color_profile_get_format (dest_format,
&lcms_dest_format);
priv->src_format = gimp_color_profile_get_lcms_format (src_format,
&lcms_src_format);
priv->dest_format = gimp_color_profile_get_lcms_format (dest_format,
&lcms_dest_format);
lcms_error_clear ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment