[gegl] paramspecs: use -G_MAXDOBULE - G_MAXDOUBLE as default double range



commit 1980cdf9e2d9742e49a3075454027bb3c9e15e10
Author: Øyvind Kolås <pippin gimp org>
Date:   Fri May 16 15:51:21 2014 +0200

    paramspecs: use -G_MAXDOBULE - G_MAXDOUBLE as default double range

 gegl/property-types/gegl-paramspecs.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gegl/property-types/gegl-paramspecs.c b/gegl/property-types/gegl-paramspecs.c
index 06130bf..71a7e57 100644
--- a/gegl/property-types/gegl-paramspecs.c
+++ b/gegl/property-types/gegl-paramspecs.c
@@ -751,8 +751,8 @@ gegl_param_spec_double_from_vararg (const char *name, ...)
 {
   const gchar *nick  = name,
               *blurb = "";
-  gdouble min_value     = DBL_MIN,
-          max_value     = DBL_MAX,
+  gdouble min_value     = -G_MAXDOUBLE,
+          max_value     = G_MAXDOUBLE,
           default_value = 0.0,
           ui_min = -100,
           ui_max = 100,


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