[gimp] app: don't use unrelated prefs values for the color profile convert dialog



commit f56ca4471b72c5de488bc1abc425956cd9b49c3a
Author: Michael Natterer <mitch gimp org>
Date:   Fri May 13 22:49:07 2016 +0200

    app: don't use unrelated prefs values for the color profile convert dialog
    
    The values from the global GimpColorConfig are for displaying images
    on screen, not default values for profile conversion. Instead, default
    to intent = RELATIVE_COLORIMETRIC and bpc = TRUE.

 app/dialogs/color-profile-dialog.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/dialogs/color-profile-dialog.c b/app/dialogs/color-profile-dialog.c
index 84d2ec8..2e308f5 100644
--- a/app/dialogs/color-profile-dialog.c
+++ b/app/dialogs/color-profile-dialog.c
@@ -117,8 +117,8 @@ color_profile_dialog_new (ColorProfileDialogType  dialog_type,
 
   if (saved_intent == -1)
     {
-      dialog->intent = dialog->config->display_intent;
-      dialog->bpc    = (dialog->intent == GIMP_COLOR_RENDERING_INTENT_RELATIVE_COLORIMETRIC);
+      dialog->intent = GIMP_COLOR_RENDERING_INTENT_RELATIVE_COLORIMETRIC;
+      dialog->bpc    = TRUE;
     }
   else
     {


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