[gimp/warp-wip-rebased: 14/56] gimpoperationwarp: remove useless overriding



commit de60a4c33f9351f56cadff1e13d058b3717d955e
Author: Michael Muré <batolettre gmail com>
Date:   Sat Jun 4 09:23:09 2011 +0200

    gimpoperationwarp: remove useless overriding

 app/gegl/gimpoperationwarp.c |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/app/gegl/gimpoperationwarp.c b/app/gegl/gimpoperationwarp.c
index 0fed2d3..fdb199d 100644
--- a/app/gegl/gimpoperationwarp.c
+++ b/app/gegl/gimpoperationwarp.c
@@ -49,8 +49,6 @@ static gboolean     gimp_operation_warp_process                 (GeglOperation
                                                                  GeglBuffer          *in_buf,
                                                                  GeglBuffer          *out_buf,
                                                                  const GeglRectangle *roi);
-GeglRectangle       gimp_operation_warp_get_bounding_box        (GeglOperation       *operation);
-
 
 G_DEFINE_TYPE (GimpOperationWarp, gimp_operation_warp,
                       GEGL_TYPE_OPERATION_FILTER)
@@ -74,7 +72,6 @@ gimp_operation_warp_class_init (GimpOperationWarpClass *klass)
   operation_class->description             = "GIMP warp";
 
   operation_class->prepare                 = gimp_operation_warp_prepare;
-  operation_class->get_bounding_box        = gimp_operation_warp_get_bounding_box;
 
   filter_class->process                    = gimp_operation_warp_process;
 }
@@ -143,12 +140,3 @@ gimp_operation_warp_process (GeglOperation       *operation,
 
   return TRUE;
 }
-
-GeglRectangle
-gimp_operation_warp_get_bounding_box (GeglOperation *operation)
-{
-  GeglRectangle result = *gegl_operation_source_get_bounding_box (operation,
-                                                                  "input");
-
-  return result;
-}


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