[gegl] gegl: remove the item from the proper GSList



commit df5503e05557d5db1b6c05fa5cf44ef233ccf73b
Author: Massimo Valentini <mvalentini src gnome org>
Date:   Mon Jun 2 19:02:23 2014 +0200

    gegl: remove the item from the proper GSList

 gegl/buffer/gegl-tile-handler-cache.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gegl/buffer/gegl-tile-handler-cache.c b/gegl/buffer/gegl-tile-handler-cache.c
index a1aa38a..f742228 100644
--- a/gegl/buffer/gegl-tile-handler-cache.c
+++ b/gegl/buffer/gegl-tile-handler-cache.c
@@ -379,7 +379,7 @@ gegl_tile_handler_cache_trim (GeglTileHandlerCache *cache)
       GeglTile *tile = last_writable->tile;
       GeglTileStorage *storage = tile->tile_storage;
 
-      cache->items = g_slist_remove (cache->items, last_writable);
+      last_writable->handler->items = g_slist_remove (last_writable->handler->items, last_writable);
       g_hash_table_remove (cache_ht, last_writable);
       cache_total -= tile->size;
 


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