[gegl] gegl: Fix rounding issue in gegl-paramspecs.c
- From: Michael Henning <mhenning src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] gegl: Fix rounding issue in gegl-paramspecs.c
- Date: Fri, 11 Jul 2014 18:47:36 +0000 (UTC)
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]