[gimp] libgimpwidgets: oups, fix some stupid miswrite.



commit 90037116e4f950ba314192b97f3511c4ebc066ba
Author: Jehan <jehan girinstud io>
Date:   Mon Jan 22 01:07:29 2018 +0100

    libgimpwidgets: oups, fix some stupid miswrite.
    
    Unfortunately not very problematic, unless when setting alpha channel.

 libgimpwidgets/gimpcolorselector.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgimpwidgets/gimpcolorselector.c b/libgimpwidgets/gimpcolorselector.c
index 60bc5e5..0a03053 100644
--- a/libgimpwidgets/gimpcolorselector.c
+++ b/libgimpwidgets/gimpcolorselector.c
@@ -397,7 +397,7 @@ gimp_color_selector_set_channel (GimpColorSelector        *selector,
   if (channel != selector->channel)
     {
       GimpColorSelectorClass *selector_class;
-      GimpColorSelectorModel  model = selector->channel;
+      GimpColorSelectorModel  model = selector->model;
 
       selector->channel = channel;
       selector_class = GIMP_COLOR_SELECTOR_GET_CLASS (selector);


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