[gegl] gegl: Fix rounding issue in gegl-paramspecs.c



commit 8e21811e96b64947a1f1fa3e1f2172af1fc75efe
Author: Michael Henning <drawoc darkrefraction com>
Date:   Fri Jul 11 14:43:50 2014 -0400

    gegl: Fix rounding issue in gegl-paramspecs.c
    
    It doesn't really make sense to attempt to give an integer a step
    size of 0.1 anyway.

 gegl/property-types/gegl-paramspecs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gegl/property-types/gegl-paramspecs.c b/gegl/property-types/gegl-paramspecs.c
index 5bd69d8..fcfcce2 100644
--- a/gegl/property-types/gegl-paramspecs.c
+++ b/gegl/property-types/gegl-paramspecs.c
@@ -195,7 +195,7 @@ gegl_param_spec_int (const gchar *name,
   pspec->ui_maximum = ui_maximum;
   pspec->ui_gamma = ui_gamma;
 
-  gegl_param_spec_int_set_steps (pspec, 0.1, 1.0);
+  gegl_param_spec_int_set_steps (pspec, 1, 5);
   return G_PARAM_SPEC (pspec);
 }
 


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