[gegl-gtk] GeglGtkView: Fix compabitibility with GEGL 1.6 (GeglMatrix3)



commit aab5b9595513e37be7fcf31fd9b47fe31a4150e3
Author: Jon Nordby <jononor gmail com>
Date:   Sun Nov 20 16:19:57 2011 +0100

    GeglGtkView: Fix compabitibility with GEGL 1.6 (GeglMatrix3)

 gegl-gtk/internal/view-helper.c |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/gegl-gtk/internal/view-helper.c b/gegl-gtk/internal/view-helper.c
index cdf9ceb..c95e2d4 100644
--- a/gegl-gtk/internal/view-helper.c
+++ b/gegl-gtk/internal/view-helper.c
@@ -378,17 +378,17 @@ void view_helper_get_transformation(ViewHelper *self, GeglMatrix3 *matrix)
     matrix->coeff [2][1] = 0.0;
     matrix->coeff [2][2] = 1.0;
 #else
-    matrix [0][0] = self->scale;
-    matrix [0][1] = 0.0;
-    matrix [0][2] = -self->x;
+    (*matrix) [0][0] = self->scale;
+    (*matrix) [0][1] = 0.0;
+    (*matrix) [0][2] = -self->x;
 
-    matrix [1][0] = 0.0;
-    matrix [1][1] = self->scale;
-    matrix [1][2] = -self->y;
+    (*matrix) [1][0] = 0.0;
+    (*matrix) [1][1] = self->scale;
+    (*matrix) [1][2] = -self->y;
 
-    matrix [2][0] = 0.0;
-    matrix [2][1] = 0.0;
-    matrix [2][2] = 1.0;
+    (*matrix) [2][0] = 0.0;
+    (*matrix) [2][1] = 0.0;
+    (*matrix) [2][2] = 1.0;
 #endif
 
 }



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