[gegl-gtk] Build: More correct version checking of GEGL in ViewHelper



commit 8cabd584835d0bb239f2598fec4775d46ce9fdd3
Author: Jon Nordby <jononor gmail com>
Date:   Thu Apr 12 15:51:47 2012 +0200

    Build: More correct version checking of GEGL in ViewHelper

 gegl-gtk/internal/view-helper.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gegl-gtk/internal/view-helper.c b/gegl-gtk/internal/view-helper.c
index 71587cb..44182bc 100644
--- a/gegl-gtk/internal/view-helper.c
+++ b/gegl-gtk/internal/view-helper.c
@@ -366,7 +366,7 @@ void view_helper_get_transformation(ViewHelper *self, GeglMatrix3 *matrix)
      * GeglMatrix3 changed from float[3][3] to
      * struct with a float[3][3] coeff member */
 
-#if GEGL_MINOR_VERSION == 1 && GEGL_MICRO_VERSION >= 7
+#if GEGL_MINOR_VERSION == 1 && GEGL_MICRO_VERSION >= 7 || GEGL_MINOR_VERSION >= 2
     matrix->coeff [0][0] = self->scale; /* xx */
     matrix->coeff [0][1] = 0.0; /* xy */
     matrix->coeff [0][2] = -self->x; /* x0 */



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