[gimp/gtk3-port: 227/227] gtk3-port: fix color accessor



commit 46ed061fbe2ea4fc5cf0eb314ea3d52a42ab087d
Author: Clayton Walker <clayton m walker gmail com>
Date:   Mon Oct 21 15:17:20 2013 -0600

    gtk3-port: fix color accessor

 app/widgets/gimpcairo-wilber.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/widgets/gimpcairo-wilber.c b/app/widgets/gimpcairo-wilber.c
index 341fbef..7d0c0f7 100644
--- a/app/widgets/gimpcairo-wilber.c
+++ b/app/widgets/gimpcairo-wilber.c
@@ -139,7 +139,7 @@ gimp_cairo_draw_drop_wilber (GtkWidget *widget,
                        allocation.height / factor - wilber_height * 1.1);
 
       cairo_set_source_rgba (cr,
-                             style->fg[state].red   / 65535.0,
+                             color.red,
                              0,
                              0,
                              1.0);


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