[gimp/gtk3-port: 228/228] ===== merge into the right spin scale commit ====



commit 3e3584b1d64535d46f1b812c88d83338d29fa809
Author: Michael Natterer <mitch gimp org>
Date:   Fri May 4 17:19:19 2012 +0200

    ===== merge into the right spin scale commit ====

 app/widgets/gimpspinscale.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/widgets/gimpspinscale.c b/app/widgets/gimpspinscale.c
index 1dcfd2b..18c169b 100644
--- a/app/widgets/gimpspinscale.c
+++ b/app/widgets/gimpspinscale.c
@@ -527,7 +527,7 @@ gimp_spin_scale_change_value (GtkWidget *widget,
     {
       gdouble fraction;
 
-      fraction = x / (gdouble) width;
+      fraction = x / (gdouble) text_area.width;
       if (fraction > 0.0)
         fraction = pow (fraction, private->gamma);
 



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