[gegl] svg-luminancetoalpha: port to op.h, remove unused property



commit 4bbee3defb9de16ed231aa63f8289c453ba6c36a
Author: Øyvind Kolås <pippin gimp org>
Date:   Sat May 17 14:10:32 2014 +0200

    svg-luminancetoalpha: port to op.h, remove unused property

 operations/common/svg-luminancetoalpha.c |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/operations/common/svg-luminancetoalpha.c b/operations/common/svg-luminancetoalpha.c
index f66c576..da8a946 100644
--- a/operations/common/svg-luminancetoalpha.c
+++ b/operations/common/svg-luminancetoalpha.c
@@ -22,16 +22,14 @@
 #include <glib/gi18n-lib.h>
 
 
-#ifdef GEGL_CHANT_PROPERTIES
-
-gegl_chant_string (values, _("Values"), "", _("list of <number>s"))
+#ifdef GEGL_PROPERTIES
 
 #else
 
-#define GEGL_CHANT_TYPE_POINT_FILTER
-#define GEGL_CHANT_C_FILE       "svg-luminancetoalpha.c"
+#define GEGL_OP_POINT_FILTER
+#define GEGL_OP_C_FILE       "svg-luminancetoalpha.c"
 
-#include "gegl-chant.h"
+#include "gegl-op.h"
 #include <math.h>
 #include <stdlib.h>
 
@@ -77,7 +75,7 @@ process (GeglOperation       *op,
 
 
 static void
-gegl_chant_class_init (GeglChantClass *klass)
+gegl_op_class_init (GeglOpClass *klass)
 {
   GeglOperationClass            *operation_class;
   GeglOperationPointFilterClass *point_filter_class;


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