[gimp] plug-ins: actually use the remembered profile_policy in screenshot



commit 894845fe43ac2a270dea50e32b969130869abb3e
Author: Michael Natterer <mitch gimp org>
Date:   Tue May 30 22:20:15 2017 +0200

    plug-ins: actually use the remembered profile_policy in screenshot
    
    Copy and paste coding made the default value the selected one in the
    "Color Profile" frame, not the value from ScreenshotValues.

 plug-ins/screenshot/screenshot.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/screenshot/screenshot.c b/plug-ins/screenshot/screenshot.c
index 9a72aca..332ab65 100644
--- a/plug-ins/screenshot/screenshot.c
+++ b/plug-ins/screenshot/screenshot.c
@@ -609,7 +609,7 @@ shoot_dialog (GdkScreen **screen)
                                     _("Color Profile"),
                                     G_CALLBACK (gimp_radio_button_update),
                                     &shootvals.profile_policy,
-                                    SCREENSHOT_PROFILE_POLICY_MONITOR,
+                                    shootvals.profile_policy,
 
                                     _("Tag image with _monitor profile"),
                                     SCREENSHOT_PROFILE_POLICY_MONITOR,


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