[gimp/goat-invasion: 110/608] app: GeglBuffer-backend GeglTiles now use GDestroyNotify



commit 9c7a5322005e8165ae65a7e536a09072abad5791
Author: Ãyvind KolÃs <pippin gimp org>
Date:   Sat Mar 17 23:16:51 2012 +0000

    app: GeglBuffer-backend GeglTiles now use GDestroyNotify

 app/gegl/gimptilebackendtilemanager.c |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/app/gegl/gimptilebackendtilemanager.c b/app/gegl/gimptilebackendtilemanager.c
index 333ad93..d236821 100644
--- a/app/gegl/gimptilebackendtilemanager.c
+++ b/app/gegl/gimptilebackendtilemanager.c
@@ -111,15 +111,13 @@ gimp_tile_backend_tile_manager_finalize (GObject *object)
 }
 
 static void
-tile_done (Tile *tile,
-           void *data)
+tile_done (void *data)
 {
   tile_release (data, FALSE);
 }
 
 static void
-tile_done_writing (Tile *tile,
-                   void *data)
+tile_done_writing (void *data)
 {
   tile_release (data, TRUE);
 }
@@ -165,8 +163,9 @@ gimp_tile_backend_tile_manager_command (GeglTileSource  *tile_store,
             /* use the GimpTile directly as GEGL tile */
             tile = gegl_tile_new_bare ();
             gegl_tile_set_data_full (tile, tile_data_pointer (gimp_tile, 0, 0),
-                                     tile_size, backend_tm->priv->write?
-                                     (void*)tile_done_writing:(void*)tile_done,
+                                     tile_size,
+                                     backend_tm->priv->write?
+                                                   tile_done_writing:tile_done,
                                      gimp_tile);
           }
         else



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