mirror of https://github.com/GNOME/gimp.git
modules: don't use the configured RGB profile in the CMCK color selector
it gets its color as GimpRGB which is always sRGB. Instead always use the built-in sRGB profile.
This commit is contained in:
parent
dd8a822aae
commit
e4d5f05373
|
@ -377,15 +377,12 @@ colorsel_cmyk_config_changed (ColorselCmyk *module)
|
||||||
if (! config)
|
if (! config)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
rgb_profile = gimp_color_config_get_rgb_color_profile (config, NULL);
|
|
||||||
cmyk_profile = gimp_color_config_get_cmyk_color_profile (config, NULL);
|
cmyk_profile = gimp_color_config_get_cmyk_color_profile (config, NULL);
|
||||||
|
|
||||||
if (! rgb_profile)
|
|
||||||
rgb_profile = gimp_color_profile_new_srgb ();
|
|
||||||
|
|
||||||
if (! cmyk_profile)
|
if (! cmyk_profile)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
|
rgb_profile = gimp_color_profile_new_srgb ();
|
||||||
|
|
||||||
text = g_strdup_printf (_("Profile: %s"),
|
text = g_strdup_printf (_("Profile: %s"),
|
||||||
gimp_color_profile_get_label (cmyk_profile));
|
gimp_color_profile_get_label (cmyk_profile));
|
||||||
gtk_label_set_text (GTK_LABEL (module->name_label), text);
|
gtk_label_set_text (GTK_LABEL (module->name_label), text);
|
||||||
|
|
Loading…
Reference in New Issue