[gegl] operations: remove flush parameter from write-buffer. It was a stop-gap solution.



commit dc351497870b40faf53cf22785255b7d7af87466
Author: Ville Sokk <ville sokk gmail com>
Date:   Sat Jul 6 21:29:19 2013 +0300

    operations: remove flush parameter from write-buffer. It was a stop-gap solution.

 operations/common/write-buffer.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/operations/common/write-buffer.c b/operations/common/write-buffer.c
index 2986199..a5a81f2 100644
--- a/operations/common/write-buffer.c
+++ b/operations/common/write-buffer.c
@@ -25,9 +25,6 @@
 gegl_chant_object (buffer, _("Buffer location"),
                    _("Write to an existing GeglBuffer"))
 
-gegl_chant_boolean (flush, _("Flush buffer"), TRUE,
-                    _("Flush buffer after writing"))
-
 #else
 
 #define GEGL_CHANT_TYPE_SINK
@@ -111,8 +108,7 @@ process (GeglOperation       *operation,
       else
         gegl_buffer_copy (input, result, output, result);
 
-      if (o->flush)
-        gegl_buffer_flush (output);
+      gegl_buffer_flush (output);
 
       gegl_node_emit_computed (operation->node, result);
     }



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