[gegl] plugins: more adaptation to level argument in process()



commit 4960e304fbe9e24970de54470492bda1e0ca3f54
Author: Ãyvind KolÃs <pippin gimp org>
Date:   Sun Mar 25 13:46:32 2012 +0100

    plugins: more adaptation to level argument in process()

 operations/common/display.c     |    2 +-
 operations/common/open-buffer.c |    5 +++--
 operations/common/save.c        |    3 ++-
 3 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/operations/common/display.c b/operations/common/display.c
index b48c4a5..247b371 100644
--- a/operations/common/display.c
+++ b/operations/common/display.c
@@ -121,7 +121,7 @@ process (GeglOperation        *operation,
   GeglChant   *self = GEGL_CHANT (operation);
 
   return gegl_operation_process (self->display->operation, 
-				 context, output_pad, roi);
+				 context, output_pad, roi, level);
 }
 
 static void
diff --git a/operations/common/open-buffer.c b/operations/common/open-buffer.c
index 2293ece..3d5fff8 100644
--- a/operations/common/open-buffer.c
+++ b/operations/common/open-buffer.c
@@ -73,10 +73,11 @@ get_cached_region (GeglOperation       *self,
 }
 
 static gboolean
-process (GeglOperation           *operation,
+process (GeglOperation         *operation,
          GeglOperationContext  *context,
          const gchar           *output_pad,
-         const GeglRectangle   *result)
+         const GeglRectangle   *result,
+         gint                   level)
 {
   GeglBuffer *buffer = ensure_buffer (operation);
 
diff --git a/operations/common/save.c b/operations/common/save.c
index ffb5df0..42c3f3f 100644
--- a/operations/common/save.c
+++ b/operations/common/save.c
@@ -155,7 +155,8 @@ gegl_save_process (GeglOperation        *operation,
   return gegl_operation_process (self->save->operation,
                                  context,
                                  output_pad,
-                                 roi);
+                                 roi,
+                                 level);
 }
 
 static void



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