[libdazzle] graph: fix ranges for properties



commit 57aea90a77c4e98b2212a9da38205d5131f090ea
Author: Christian Hergert <chergert redhat com>
Date:   Sun Jan 5 09:53:23 2020 -0800

    graph: fix ranges for properties
    
    Fixes #51

 src/graphing/dzl-graph-model.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/graphing/dzl-graph-model.c b/src/graphing/dzl-graph-model.c
index c9a17d9..c53ecdb 100644
--- a/src/graphing/dzl-graph-model.c
+++ b/src/graphing/dzl-graph-model.c
@@ -577,7 +577,7 @@ dzl_graph_view_model_class_init (DzlGraphModelClass *klass)
     g_param_spec_double ("value-max",
                          "Value Max",
                          "Value Max",
-                         -G_MINDOUBLE, G_MAXDOUBLE,
+                         -G_MAXDOUBLE, G_MAXDOUBLE,
                          100.0,
                          (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
@@ -585,7 +585,7 @@ dzl_graph_view_model_class_init (DzlGraphModelClass *klass)
     g_param_spec_double ("value-min",
                          "Value Min",
                          "Value Min",
-                         -G_MINDOUBLE, G_MAXDOUBLE,
+                         -G_MAXDOUBLE, G_MAXDOUBLE,
                          100.0,
                          (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 


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