[gegl/wip/issue230] gegl-imgcmp: Fix name of max-diff property



commit 3036c87afce086bd7f47c27560b67161be2ba4df
Author: Simon McVittie <smcv debian org>
Date:   Wed Mar 18 09:22:41 2020 +0000

    gegl-imgcmp: Fix name of max-diff property
    
    GLib 2.64 enforces the rules that were previously only documented for
    property and parameter names, resulting in this property not being
    looked up successfully, leaving uninitialized junk in the max_diff
    variable.
    
    Signed-off-by: Simon McVittie <smcv debian org>
    Resolves: https://gitlab.gnome.org/GNOME/gegl/issues/230
    Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=954196

 tools/gegl-imgcmp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tools/gegl-imgcmp.c b/tools/gegl-imgcmp.c
index 87cba042f..5421594e7 100644
--- a/tools/gegl-imgcmp.c
+++ b/tools/gegl-imgcmp.c
@@ -127,7 +127,7 @@ main (gint    argc,
   gegl_node_connect_to (imgB, "output", comparison, "aux");
   gegl_node_process (comparison);
   gegl_node_get (comparison,
-                 "max diff", &max_diff,
+                 "max-diff", &max_diff,
                  "avg-diff-wrong", &avg_diff_wrong,
                  "avg-diff-total", &avg_diff_total,
                  "wrong-pixels", &wrong_pixels,


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