[gimp/goat-invasion: 125/526] app: remove gimp_drawable_apply_operation_to_tiles()



commit 5a2485a92dd8069edd6188774270e3b38a255294
Author: Michael Natterer <mitch gimp org>
Date:   Sun Mar 18 16:40:56 2012 +0100

    app: remove gimp_drawable_apply_operation_to_tiles()

 app/core/gimpdrawable-operation.c |   30 ------------------------------
 app/core/gimpdrawable-operation.h |    6 ------
 2 files changed, 0 insertions(+), 36 deletions(-)
---
diff --git a/app/core/gimpdrawable-operation.c b/app/core/gimpdrawable-operation.c
index e399efac..021fe55 100644
--- a/app/core/gimpdrawable-operation.c
+++ b/app/core/gimpdrawable-operation.c
@@ -133,33 +133,3 @@ gimp_drawable_apply_operation_to_buffer (GimpDrawable *drawable,
                         operation, linear,
                         dest_buffer, NULL);
 }
-
-void
-gimp_drawable_apply_operation_to_tiles (GimpDrawable *drawable,
-                                        GimpProgress *progress,
-                                        const gchar  *undo_desc,
-                                        GeglNode     *operation,
-                                        gboolean      linear,
-                                        TileManager  *dest_tiles)
-{
-  GeglBuffer *dest_buffer;
-
-  g_return_if_fail (GIMP_IS_DRAWABLE (drawable));
-  g_return_if_fail (progress == NULL || GIMP_IS_PROGRESS (progress));
-  g_return_if_fail (progress == NULL || undo_desc != NULL);
-  g_return_if_fail (GEGL_IS_NODE (operation));
-  g_return_if_fail (dest_tiles != NULL);
-
-  dest_buffer = gimp_tile_manager_create_buffer (dest_tiles,
-                                                 gimp_drawable_get_format (drawable),
-                                                 TRUE);
-
-  gimp_drawable_apply_operation_to_buffer (drawable,
-                                           progress,
-                                           undo_desc,
-                                           operation,
-                                           linear,
-                                           dest_buffer);
-
-  g_object_unref (dest_buffer);
-}
diff --git a/app/core/gimpdrawable-operation.h b/app/core/gimpdrawable-operation.h
index f999759..b2d0f06 100644
--- a/app/core/gimpdrawable-operation.h
+++ b/app/core/gimpdrawable-operation.h
@@ -42,12 +42,6 @@ void   gimp_drawable_apply_operation_to_buffer (GimpDrawable *drawable,
                                                 GeglNode     *operation,
                                                 gboolean      linear,
                                                 GeglBuffer   *dest_buffer);
-void   gimp_drawable_apply_operation_to_tiles  (GimpDrawable *drawable,
-                                                GimpProgress *progress,
-                                                const gchar  *undo_desc,
-                                                GeglNode     *operation,
-                                                gboolean      linear,
-                                                TileManager  *dest_tiles);
 
 
 #endif /* __GIMP_DRAWABLE_OPERATION_H__ */



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