modules: patch from Elle that fixes some forgotten profile_new name changes
This commit is contained in:
@ -381,7 +381,7 @@ colorsel_cmyk_config_changed (ColorselCmyk *module)
|
|||||||
if (! cmyk_profile)
|
if (! cmyk_profile)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
rgb_profile = gimp_color_profile_new_srgb ();
|
rgb_profile = gimp_color_profile_new_rgb_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));
|
||||||
|
@ -348,7 +348,7 @@ cdisplay_proof_changed (GimpColorDisplay *display)
|
|||||||
if (! proof->profile)
|
if (! proof->profile)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
rgb_profile = gimp_color_profile_new_srgb ();
|
rgb_profile = gimp_color_profile_new_rgb_srgb ();
|
||||||
|
|
||||||
file = g_file_new_for_path (proof->profile);
|
file = g_file_new_for_path (proof->profile);
|
||||||
proof_profile = gimp_color_profile_new_from_file (file, NULL);
|
proof_profile = gimp_color_profile_new_from_file (file, NULL);
|
||||||
|
Reference in New Issue
Block a user