/** * gimp_color_profile_get_copyright: * @profile: a #GimpColorProfile * * Return value: a string containing @profile's copyright. The * returned value belongs to @profile and must not be * modified or freed. * * Since: 2.10 **/ const gchar * gimp_color_profile_get_copyright (GimpColorProfile *profile) { g_return_val_if_fail (GIMP_IS_COLOR_PROFILE (profile), NULL); if (! profile->priv->copyright) profile->priv->copyright = gimp_color_profile_get_info (profile, cmsInfoCopyright); return profile->priv->copyright; }
/** * gimp_color_profile_get_manufacturer: * @profile: a #GimpColorProfile * * Return value: a string containing @profile's manufacturer. The * returned value belongs to @profile and must not be * modified or freed. * * Since: 2.10 **/ const gchar * gimp_color_profile_get_manufacturer (GimpColorProfile *profile) { g_return_val_if_fail (GIMP_IS_COLOR_PROFILE (profile), NULL); if (! profile->priv->manufacturer) profile->priv->manufacturer = gimp_color_profile_get_info (profile, cmsInfoManufacturer); return profile->priv->manufacturer; }
/** * gimp_color_profile_get_model: * @profile: a #GimpColorProfile * * Return value: a string containing @profile's model. The returned * value belongs to @profile and must not be modified or * freed. * * Since: 2.10 **/ const gchar * gimp_color_profile_get_model (GimpColorProfile *profile) { g_return_val_if_fail (GIMP_IS_COLOR_PROFILE (profile), NULL); if (! profile->priv->model) profile->priv->model = gimp_color_profile_get_info (profile, cmsInfoModel); return profile->priv->model; }
/** * gimp_color_profile_get_description: * @profile: a #GimpColorProfile * * Return value: a string containing @profile's description. The * returned value belongs to @profile and must not be * modified or freed. * * Since: 2.10 **/ const gchar * gimp_color_profile_get_description (GimpColorProfile *profile) { g_return_val_if_fail (GIMP_IS_COLOR_PROFILE (profile), NULL); if (! profile->priv->description) profile->priv->description = gimp_color_profile_get_info (profile, cmsInfoDescription); return profile->priv->description; }
/** * gimp_color_profile_get_copyright: * @profile: a #GimpColorProfile * * Return value: a newly allocated string containing @profile's * copyright. Free with g_free(). * * Since: 2.10 **/ gchar * gimp_color_profile_get_copyright (GimpColorProfile profile) { return gimp_color_profile_get_info (profile, cmsInfoCopyright); }
/** * gimp_color_profile_get_model: * @profile: a #GimpColorProfile * * Return value: a newly allocated string containing @profile's * model. Free with g_free(). * * Since: 2.10 **/ gchar * gimp_color_profile_get_model (GimpColorProfile profile) { return gimp_color_profile_get_info (profile, cmsInfoModel); }
/** * gimp_color_profile_get_manufacturer: * @profile: a #GimpColorProfile * * Return value: a newly allocated string containing @profile's * manufacturer. Free with g_free(). * * Since: 2.10 **/ gchar * gimp_color_profile_get_manufacturer (GimpColorProfile profile) { return gimp_color_profile_get_info (profile, cmsInfoManufacturer); }
/** * gimp_color_profile_get_description: * @profile: a #GimpColorProfile * * Return value: a newly allocated string containing @profile's * description. Free with g_free(). * * Since: 2.10 **/ gchar * gimp_color_profile_get_description (GimpColorProfile profile) { return gimp_color_profile_get_info (profile, cmsInfoDescription); }