modules: patch from Elle that fixes some forgotten profile_new name changes

This commit is contained in:
Michael Natterer 2015-12-16 00:22:39 +01:00
parent df21e07855
commit 3e5eba0774
2 changed files with 2 additions and 2 deletions

View file

@ -381,7 +381,7 @@ colorsel_cmyk_config_changed (ColorselCmyk *module)
if (! cmyk_profile)
goto out;
rgb_profile = gimp_color_profile_new_srgb ();
rgb_profile = gimp_color_profile_new_rgb_srgb ();
text = g_strdup_printf (_("Profile: %s"),
gimp_color_profile_get_label (cmyk_profile));

View file

@ -348,7 +348,7 @@ cdisplay_proof_changed (GimpColorDisplay *display)
if (! proof->profile)
return;
rgb_profile = gimp_color_profile_new_srgb ();
rgb_profile = gimp_color_profile_new_rgb_srgb ();
file = g_file_new_for_path (proof->profile);
proof_profile = gimp_color_profile_new_from_file (file, NULL);