[gimp] app: remove gimp:cast-format and use gegl:cast-format



commit d9cf36d07db5e189d9046698476c96c111e9411e
Author: Michael Natterer <mitch gimp org>
Date:   Mon May 5 19:30:21 2014 +0200

    app: remove gimp:cast-format and use gegl:cast-format

 app/core/gimpimagemap.c                  |    4 +-
 app/operations/Makefile.am               |    2 -
 app/operations/gimp-operations.c         |    2 -
 app/operations/gimpoperationcastformat.c |  205 ------------------------------
 app/operations/gimpoperationcastformat.h |   56 --------
 app/pdb/plug-in-compat-cmds.c            |    4 +-
 tools/pdbgen/pdb/plug_in_compat.pdb      |    4 +-
 7 files changed, 6 insertions(+), 271 deletions(-)
---
diff --git a/app/core/gimpimagemap.c b/app/core/gimpimagemap.c
index 4628009..123c11c 100644
--- a/app/core/gimpimagemap.c
+++ b/app/core/gimpimagemap.c
@@ -313,12 +313,12 @@ gimp_image_map_apply (GimpImageMap        *image_map,
                               babl_format_has_alpha (drawable_format));
 
           image_map->cast_before = gegl_node_new_child (filter_node,
-                                                        "operation",     "gimp:cast-format",
+                                                        "operation",     "gegl:cast-format",
                                                         "input-format",  drawable_format,
                                                         "output-format", cast_format,
                                                         NULL);
           image_map->cast_after = gegl_node_new_child (filter_node,
-                                                       "operation",     "gimp:cast-format",
+                                                       "operation",     "gegl:cast-format",
                                                        "input-format",  cast_format,
                                                        "output-format", drawable_format,
                                                         NULL);
diff --git a/app/operations/Makefile.am b/app/operations/Makefile.am
index 6356b3d..d5998fd 100644
--- a/app/operations/Makefile.am
+++ b/app/operations/Makefile.am
@@ -46,8 +46,6 @@ libappoperations_generic_a_sources = \
        \
        gimpoperationborder.c                   \
        gimpoperationborder.h                   \
-       gimpoperationcastformat.c               \
-       gimpoperationcastformat.h               \
        gimpoperationcagecoefcalc.c             \
        gimpoperationcagecoefcalc.h             \
        gimpoperationcagetransform.c            \
diff --git a/app/operations/gimp-operations.c b/app/operations/gimp-operations.c
index 6c38648..6b35ec9 100644
--- a/app/operations/gimp-operations.c
+++ b/app/operations/gimp-operations.c
@@ -28,7 +28,6 @@
 #include "gimp-operations.h"
 
 #include "gimpoperationborder.h"
-#include "gimpoperationcastformat.h"
 #include "gimpoperationcagecoefcalc.h"
 #include "gimpoperationcagetransform.h"
 #include "gimpoperationequalize.h"
@@ -84,7 +83,6 @@ void
 gimp_operations_init (void)
 {
   g_type_class_ref (GIMP_TYPE_OPERATION_BORDER);
-  g_type_class_ref (GIMP_TYPE_OPERATION_CAST_FORMAT);
   g_type_class_ref (GIMP_TYPE_OPERATION_CAGE_COEF_CALC);
   g_type_class_ref (GIMP_TYPE_OPERATION_CAGE_TRANSFORM);
   g_type_class_ref (GIMP_TYPE_OPERATION_EQUALIZE);
diff --git a/app/pdb/plug-in-compat-cmds.c b/app/pdb/plug-in-compat-cmds.c
index 15c110b..66f1fe9 100644
--- a/app/pdb/plug-in-compat-cmds.c
+++ b/app/pdb/plug-in-compat-cmds.c
@@ -84,12 +84,12 @@ wrap_in_gamma_cast (GeglNode     *node,
       output = gegl_node_get_output_proxy (new_node, "output");
 
       cast_before = gegl_node_new_child (new_node,
-                                         "operation",     "gimp:cast-format",
+                                         "operation",     "gegl:cast-format",
                                          "input-format",  drawable_format,
                                          "output-format", cast_format,
                                          NULL);
       cast_after  = gegl_node_new_child (new_node,
-                                         "operation",     "gimp:cast-format",
+                                         "operation",     "gegl:cast-format",
                                          "input-format",  cast_format,
                                          "output-format", drawable_format,
                                          NULL);
diff --git a/tools/pdbgen/pdb/plug_in_compat.pdb b/tools/pdbgen/pdb/plug_in_compat.pdb
index ea9515b..e421f8e 100644
--- a/tools/pdbgen/pdb/plug_in_compat.pdb
+++ b/tools/pdbgen/pdb/plug_in_compat.pdb
@@ -2383,12 +2383,12 @@ wrap_in_gamma_cast (GeglNode     *node,
       output = gegl_node_get_output_proxy (new_node, "output");
 
       cast_before = gegl_node_new_child (new_node,
-                                         "operation",     "gimp:cast-format",
+                                         "operation",     "gegl:cast-format",
                                          "input-format",  drawable_format,
                                          "output-format", cast_format,
                                          NULL);
       cast_after  = gegl_node_new_child (new_node,
-                                         "operation",     "gimp:cast-format",
+                                         "operation",     "gegl:cast-format",
                                          "input-format",  cast_format,
                                          "output-format", drawable_format,
                                          NULL);


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