[gegl/soc-2013-opecl-ops] operations: don't try to set get_bounding_box w/ gegl_operation_class_set_keys
- From: Carlos Zubieta <czubieta src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl/soc-2013-opecl-ops] operations: don't try to set get_bounding_box w/ gegl_operation_class_set_keys
- Date: Wed, 31 Jul 2013 16:49:04 +0000 (UTC)
commit 42bee1c21ab265eeb2479e9d1e116ef4b5ecdb9d
Author: Michael Henning <drawoc darkrefraction com>
Date: Tue Jul 30 13:42:42 2013 -0400
operations: don't try to set get_bounding_box w/ gegl_operation_class_set_keys
operations/generated/src-in.c | 3 ++-
operations/generated/svg-12-porter-duff.rb | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/operations/generated/src-in.c b/operations/generated/src-in.c
index aae66da..7fff470 100644
--- a/operations/generated/src-in.c
+++ b/operations/generated/src-in.c
@@ -116,10 +116,11 @@ gegl_chant_class_init (GeglChantClass *klass)
operation_class->prepare = prepare;
+ operation_class->get_bounding_box = get_bounding_box;
+
gegl_operation_class_set_keys (operation_class,
"name" , "svg:src-in",
"compat-name", "gegl:src-in",
- "get_bounding_box" , get_bounding_box,
"categories", "compositors:porter-duff",
"description" ,
_("Porter Duff operation src-in (d = cA * aB)"),
diff --git a/operations/generated/svg-12-porter-duff.rb b/operations/generated/svg-12-porter-duff.rb
index a86d3b4..762c937 100755
--- a/operations/generated/svg-12-porter-duff.rb
+++ b/operations/generated/svg-12-porter-duff.rb
@@ -252,10 +252,11 @@ static GeglRectangle get_bounding_box (GeglOperation *self)
"
file.write file_tail1
file.write "
+ operation_class->get_bounding_box = get_bounding_box;
+
gegl_operation_class_set_keys (operation_class,
\"name\" , \"svg:#{name}\",
\"compat-name\", \"gegl:#{name}\",
- \"get_bounding_box\" , get_bounding_box,
\"categories\", \"compositors:porter-duff\",
\"description\" ,
_(\"Porter Duff operation #{name} (d = #{c_formula})\"),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]