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



commit 3e5eba0774d51562d47b926d566e51f6ed95bc91
Author: Michael Natterer <mitch gimp org>
Date:   Wed Dec 16 00:22:39 2015 +0100

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

 modules/color-selector-cmyk.c  |    2 +-
 modules/display-filter-proof.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/modules/color-selector-cmyk.c b/modules/color-selector-cmyk.c
index a4c8ba0..e8b156c 100644
--- a/modules/color-selector-cmyk.c
+++ b/modules/color-selector-cmyk.c
@@ -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));
diff --git a/modules/display-filter-proof.c b/modules/display-filter-proof.c
index d487df2..e062d83 100644
--- a/modules/display-filter-proof.c
+++ b/modules/display-filter-proof.c
@@ -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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]