[gegl] buffer: flush on dispose



commit 5270a6f779abcaad3fa84a212ff3b6b418b418c2
Author: Ãyvind KolÃs <pippin gimp org>
Date:   Thu Mar 15 14:12:20 2012 +0000

    buffer: flush on dispose

 gegl/buffer/gegl-buffer.c                    |    1 +
 tests/compositions/reference/hdr-color.gegl  |  Bin 131368 -> 131664 bytes
 tests/compositions/reference/rgb-params.gegl |  Bin 131368 -> 131664 bytes
 3 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gegl/buffer/gegl-buffer.c b/gegl/buffer/gegl-buffer.c
index b6b7179..5575cec 100644
--- a/gegl/buffer/gegl-buffer.c
+++ b/gegl/buffer/gegl-buffer.c
@@ -372,6 +372,7 @@ gegl_buffer_dispose (GObject *object)
   GeglTileHandler *handler = GEGL_TILE_HANDLER (object);
 
   gegl_buffer_sample_cleanup (buffer);
+  gegl_buffer_flush (buffer);
 
   if (handler->source &&
       GEGL_IS_TILE_STORAGE (handler->source))
diff --git a/tests/compositions/reference/hdr-color.gegl b/tests/compositions/reference/hdr-color.gegl
index c052b65..0fae7e6 100644
Binary files a/tests/compositions/reference/hdr-color.gegl and b/tests/compositions/reference/hdr-color.gegl differ
diff --git a/tests/compositions/reference/rgb-params.gegl b/tests/compositions/reference/rgb-params.gegl
index 1db69be..5e181d7 100644
Binary files a/tests/compositions/reference/rgb-params.gegl and b/tests/compositions/reference/rgb-params.gegl differ



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