[gimp] follow gegl api changes from commit af5361ca8d, with an abyss policy argument to gegl_buffer_copy.



commit 7e6320497e6795cbfc41ddcbe57b502f5eb857e6
Author: Øyvind Kolås <pippin gimp org>
Date:   Sun May 24 22:32:55 2015 +0200

    follow gegl api changes from commit af5361ca8d, with an abyss policy argument
    to gegl_buffer_copy.

 app/core/gimpbrushclipboard.c          |    5 +++--
 app/core/gimpchannel.c                 |   12 ++++++------
 app/core/gimpdrawable-blend.c          |    2 ++
 app/core/gimpdrawable-combine.c        |    2 ++
 app/core/gimpdrawable-filter.c         |    3 +++
 app/core/gimpdrawable-offset.c         |    7 +++++--
 app/core/gimpdrawable-transform.c      |    4 ++--
 app/core/gimpdrawable.c                |   10 +++++-----
 app/core/gimpimage-convert-precision.c |    1 +
 app/core/gimpimage-duplicate.c         |    2 +-
 app/core/gimplayer.c                   |   13 ++++++++-----
 app/core/gimplayermask.c               |    2 +-
 app/core/gimpmaskundo.c                |    3 +++
 app/core/gimppattern.c                 |    1 +
 app/core/gimpselection.c               |    5 ++---
 app/gegl/gimp-gegl-apply-operation.c   |    2 +-
 app/paint/gimpclone.c                  |    1 +
 app/paint/gimpconvolve.c               |    1 +
 app/paint/gimpheal.c                   |    4 ++--
 app/paint/gimppaintcore.c              |    2 ++
 app/paint/gimpsmudge.c                 |    2 ++
 app/text/gimptextlayer.c               |    2 +-
 app/tools/gimpforegroundselecttool.c   |    3 +++
 app/widgets/gimpviewrenderer.c         |    2 ++
 libgimp/gimplayer.c                    |    3 ++-
 plug-ins/common/compose.c              |    4 ++--
 plug-ins/common/crop-zealous.c         |    2 ++
 plug-ins/common/decompose.c            |    4 ++--
 plug-ins/common/file-gegl.c            |    2 +-
 plug-ins/common/file-pdf-save.c        |    2 +-
 plug-ins/file-ico/ico-dialog.c         |    4 ++--
 plug-ins/file-ico/ico-save.c           |    2 +-
 32 files changed, 73 insertions(+), 41 deletions(-)
---
diff --git a/app/core/gimpbrushclipboard.c b/app/core/gimpbrushclipboard.c
index 7042489..056aa49 100644
--- a/app/core/gimpbrushclipboard.c
+++ b/app/core/gimpbrushclipboard.c
@@ -212,7 +212,8 @@ gimp_brush_clipboard_buffer_changed (Gimp      *gimp,
           dest_buffer = gimp_temp_buf_create_buffer (brush->priv->mask);
 
           gegl_buffer_set_format (dest_buffer, babl_format ("A u8"));
-          gegl_buffer_copy (buffer, NULL, dest_buffer, NULL);
+          gegl_buffer_copy (buffer, NULL, GEGL_ABYSS_NONE, 
+                            dest_buffer, NULL);
 
           g_object_unref (dest_buffer);
         }
@@ -225,7 +226,7 @@ gimp_brush_clipboard_buffer_changed (Gimp      *gimp,
       /*  copy the color channels into the brush's pixmap  */
       dest_buffer = gimp_temp_buf_create_buffer (brush->priv->pixmap);
 
-      gegl_buffer_copy (buffer, NULL, dest_buffer, NULL);
+      gegl_buffer_copy (buffer, NULL, GEGL_ABYSS_NONE, dest_buffer, NULL);
 
       g_object_unref (dest_buffer);
     }
diff --git a/app/core/gimpchannel.c b/app/core/gimpchannel.c
index 0e70915..a1dbeaf 100644
--- a/app/core/gimpchannel.c
+++ b/app/core/gimpchannel.c
@@ -612,6 +612,7 @@ gimp_channel_translate (GimpItem *item,
 
       gegl_buffer_copy (gimp_drawable_get_buffer (GIMP_DRAWABLE (channel)),
                         GEGL_RECTANGLE (x1 - off_x, y1 - off_y, width, height),
+                        GEGL_ABYSS_NONE,
                         tmp_buffer,
                         GEGL_RECTANGLE (0, 0, 0, 0));
     }
@@ -624,8 +625,7 @@ gimp_channel_translate (GimpItem *item,
     {
       /*  copy the temp mask back to the mask  */
 
-      gegl_buffer_copy (tmp_buffer,
-                        NULL,
+      gegl_buffer_copy (tmp_buffer, NULL, GEGL_ABYSS_NONE,
                         gimp_drawable_get_buffer (GIMP_DRAWABLE (channel)),
                         GEGL_RECTANGLE (x1, y1, 0, 0));
 
@@ -875,7 +875,7 @@ gimp_channel_convert_type (GimpDrawable      *drawable,
 
   if (mask_dither_type == 0)
     {
-      gegl_buffer_copy (gimp_drawable_get_buffer (drawable), NULL,
+      gegl_buffer_copy (gimp_drawable_get_buffer (drawable), NULL, GEGL_ABYSS_NONE,
                         dest_buffer, NULL);
     }
   else
@@ -1574,7 +1574,7 @@ gimp_channel_new_from_buffer (GeglBuffer    *buffer,
                               name, color);
 
   dest = gimp_drawable_get_buffer (GIMP_DRAWABLE (channel));
-  gegl_buffer_copy (buffer, NULL, dest, NULL);
+  gegl_buffer_copy (buffer, NULL, GEGL_ABYSS_NONE, dest, NULL);
 
   return channel;
 }
@@ -1606,7 +1606,7 @@ gimp_channel_new_from_alpha (GimpImage     *image,
   gegl_buffer_set_format (dest_buffer,
                           gimp_drawable_get_component_format (drawable,
                                                               GIMP_ALPHA_CHANNEL));
-  gegl_buffer_copy (gimp_drawable_get_buffer (drawable), NULL,
+  gegl_buffer_copy (gimp_drawable_get_buffer (drawable), NULL, GEGL_ABYSS_NONE,
                     dest_buffer, NULL);
   gegl_buffer_set_format (dest_buffer, NULL);
 
@@ -1645,7 +1645,7 @@ gimp_channel_new_from_component (GimpImage       *image,
   dest_buffer = gimp_drawable_get_buffer (GIMP_DRAWABLE (channel));
 
   gegl_buffer_set_format (dest_buffer, format);
-  gegl_buffer_copy (src_buffer, NULL, dest_buffer, NULL);
+  gegl_buffer_copy (src_buffer, NULL, GEGL_ABYSS_NONE, dest_buffer, NULL);
   gegl_buffer_set_format (dest_buffer, NULL);
 
   return channel;
diff --git a/app/core/gimpdrawable-blend.c b/app/core/gimpdrawable-blend.c
index 83736ac..af565d1 100644
--- a/app/core/gimpdrawable-blend.c
+++ b/app/core/gimpdrawable-blend.c
@@ -567,6 +567,7 @@ gradient_precalc_shapeburst (GimpImage           *image,
       /*  copy the mask to the temp mask  */
       gegl_buffer_copy (gimp_drawable_get_buffer (GIMP_DRAWABLE (mask)),
                         GEGL_RECTANGLE (x + off_x, y + off_y, width, height),
+                        GEGL_ABYSS_NONE,
                         temp_buffer,
                         GEGL_RECTANGLE (0, 0, 0, 0));
     }
@@ -584,6 +585,7 @@ gradient_precalc_shapeburst (GimpImage           *image,
           gegl_buffer_copy (gimp_drawable_get_buffer (drawable),
                             GEGL_RECTANGLE (region->x, region->y,
                                             region->width, region->height),
+                            GEGL_ABYSS_NONE,
                             temp_buffer,
                             GEGL_RECTANGLE (0, 0, 0, 0));
           gegl_buffer_set_format (temp_buffer, NULL);
diff --git a/app/core/gimpdrawable-combine.c b/app/core/gimpdrawable-combine.c
index cd80dad..281ac29 100644
--- a/app/core/gimpdrawable-combine.c
+++ b/app/core/gimpdrawable-combine.c
@@ -113,6 +113,7 @@ gimp_drawable_real_apply_buffer (GimpDrawable         *drawable,
                             GEGL_RECTANGLE (buffer_region->x + (x - base_x),
                                             buffer_region->y + (y - base_y),
                                             width, height),
+                            GEGL_ABYSS_NONE,
                             undo->applied_buffer,
                             GEGL_RECTANGLE (0, 0, width, height));
         }
@@ -228,6 +229,7 @@ gimp_drawable_real_replace_buffer (GimpDrawable        *drawable,
       gegl_buffer_copy (src_buffer,
                         GEGL_RECTANGLE (x + offset_x, y + offset_y,
                                         width, height),
+                        GEGL_ABYSS_NONE,
                         dest_buffer,
                         GEGL_RECTANGLE (0, 0, 0, 0));
 
diff --git a/app/core/gimpdrawable-filter.c b/app/core/gimpdrawable-filter.c
index f150196..17e39e9 100644
--- a/app/core/gimpdrawable-filter.c
+++ b/app/core/gimpdrawable-filter.c
@@ -116,6 +116,7 @@ gimp_drawable_merge_filter (GimpDrawable *drawable,
       gegl_buffer_copy (gimp_drawable_get_buffer (drawable),
                         GEGL_RECTANGLE (rect.x, rect.y,
                                         rect.width, rect.height),
+                        GEGL_ABYSS_NONE,
                         undo_buffer,
                         GEGL_RECTANGLE (0, 0, 0, 0));
 
@@ -150,6 +151,7 @@ gimp_drawable_merge_filter (GimpDrawable *drawable,
                    */
                   gegl_buffer_copy (cache,
                                     &rects[i],
+                                    GEGL_ABYSS_NONE,
                                     apply_buffer,
                                     GEGL_RECTANGLE (rects[i].x - rect.x,
                                                     rects[i].y - rect.y,
@@ -197,6 +199,7 @@ gimp_drawable_merge_filter (GimpDrawable *drawable,
 
           gegl_buffer_copy (undo_buffer,
                             GEGL_RECTANGLE (0, 0, rect.width, rect.height),
+                            GEGL_ABYSS_NONE,
                             gimp_drawable_get_buffer (drawable),
                             GEGL_RECTANGLE (rect.x, rect.y, 0, 0));
 
diff --git a/app/core/gimpdrawable-offset.c b/app/core/gimpdrawable-offset.c
index 71ae4f0..df3b6b6 100644
--- a/app/core/gimpdrawable-offset.c
+++ b/app/core/gimpdrawable-offset.c
@@ -135,6 +135,7 @@ gimp_drawable_offset (GimpDrawable   *drawable,
     {
       gegl_buffer_copy (src_buffer,
                         GEGL_RECTANGLE (src_x,  src_y,  width, height),
+                        GEGL_ABYSS_NONE,
                         new_buffer,
                         GEGL_RECTANGLE (dest_x,dest_y,  width, height));
     }
@@ -178,6 +179,7 @@ gimp_drawable_offset (GimpDrawable   *drawable,
           gegl_buffer_copy (src_buffer,
                             GEGL_RECTANGLE (src_x, src_y,
                                             ABS (offset_x), ABS (offset_y)),
+                            GEGL_ABYSS_NONE,
                             new_buffer,
                             GEGL_RECTANGLE (dest_x, dest_y, 0, 0));
         }
@@ -206,7 +208,7 @@ gimp_drawable_offset (GimpDrawable   *drawable,
               dest_rect.y = 0;
             }
 
-          gegl_buffer_copy (src_buffer, &src_rect, new_buffer, &dest_rect);
+          gegl_buffer_copy (src_buffer, &src_rect, GEGL_ABYSS_NONE, new_buffer, &dest_rect);
         }
 
       /*  X offset  */
@@ -233,7 +235,8 @@ gimp_drawable_offset (GimpDrawable   *drawable,
               dest_rect.y = dest_y;
             }
 
-          gegl_buffer_copy (src_buffer, &src_rect, new_buffer, &dest_rect);
+          gegl_buffer_copy (src_buffer, &src_rect, GEGL_ABYSS_NONE,
+                            new_buffer, &dest_rect);
         }
     }
 
diff --git a/app/core/gimpdrawable-transform.c b/app/core/gimpdrawable-transform.c
index 24a0bb7..eb41d31 100644
--- a/app/core/gimpdrawable-transform.c
+++ b/app/core/gimpdrawable-transform.c
@@ -256,7 +256,7 @@ gimp_drawable_transform_buffer_flip (GimpDrawable        *drawable,
           src_rect.x  = i + orig_x;
           dest_rect.x = new_x + new_width - i - 1;
 
-          gegl_buffer_copy (orig_buffer, &src_rect,
+          gegl_buffer_copy (orig_buffer, &src_rect, GEGL_ABYSS_NONE,
                             new_buffer, &dest_rect);
         }
       break;
@@ -277,7 +277,7 @@ gimp_drawable_transform_buffer_flip (GimpDrawable        *drawable,
           src_rect.y  = i + orig_y;
           dest_rect.y = new_y + new_height - i - 1;
 
-          gegl_buffer_copy (orig_buffer, &src_rect,
+          gegl_buffer_copy (orig_buffer, &src_rect, GEGL_ABYSS_NONE,
                             new_buffer, &dest_rect);
         }
       break;
diff --git a/app/core/gimpdrawable.c b/app/core/gimpdrawable.c
index 1dffdc9..ebcc5ec 100644
--- a/app/core/gimpdrawable.c
+++ b/app/core/gimpdrawable.c
@@ -608,7 +608,7 @@ gimp_drawable_resize (GimpItem    *item,
                         GEGL_RECTANGLE (copy_x - gimp_item_get_offset_x (item),
                                         copy_y - gimp_item_get_offset_y (item),
                                         copy_width,
-                                        copy_height),
+                                        copy_height), GEGL_ABYSS_NONE,
                         new_buffer,
                         GEGL_RECTANGLE (copy_x - new_offset_x,
                                         copy_y - new_offset_y, 0, 0));
@@ -805,7 +805,7 @@ gimp_drawable_real_convert_type (GimpDrawable      *drawable,
                                      gimp_item_get_height (GIMP_ITEM (drawable))),
                      format);
 
-  gegl_buffer_copy (gimp_drawable_get_buffer (drawable), NULL,
+  gegl_buffer_copy (gimp_drawable_get_buffer (drawable), NULL, GEGL_ABYSS_NONE,
                     dest_buffer, NULL);
 
   gimp_drawable_set_buffer (drawable, push_undo, NULL, dest_buffer);
@@ -876,7 +876,7 @@ gimp_drawable_real_push_undo (GimpDrawable *drawable,
                                 gimp_drawable_get_format (drawable));
 
       gegl_buffer_copy (gimp_drawable_get_buffer (drawable),
-                        GEGL_RECTANGLE (x, y, width, height),
+                        GEGL_RECTANGLE (x, y, width, height), GEGL_ABYSS_NONE,
                         buffer,
                         GEGL_RECTANGLE (0, 0, 0, 0));
     }
@@ -905,11 +905,11 @@ gimp_drawable_real_swap_pixels (GimpDrawable *drawable,
   tmp = gegl_buffer_dup (buffer);
 
   gegl_buffer_copy (gimp_drawable_get_buffer (drawable),
-                    GEGL_RECTANGLE (x, y, width, height),
+                    GEGL_RECTANGLE (x, y, width, height), GEGL_ABYSS_NONE,
                     buffer,
                     GEGL_RECTANGLE (0, 0, 0, 0));
   gegl_buffer_copy (tmp,
-                    GEGL_RECTANGLE (0, 0, width, height),
+                    GEGL_RECTANGLE (0, 0, width, height), GEGL_ABYSS_NONE,
                     gimp_drawable_get_buffer (drawable),
                     GEGL_RECTANGLE (x, y, 0, 0));
 
diff --git a/app/core/gimpimage-convert-precision.c b/app/core/gimpimage-convert-precision.c
index 34a6b68..9d0e02d 100644
--- a/app/core/gimpimage-convert-precision.c
+++ b/app/core/gimpimage-convert-precision.c
@@ -155,6 +155,7 @@ gimp_image_convert_precision (GimpImage     *image,
                               gimp_image_get_mask_format (image));
 
     gegl_buffer_copy (gimp_drawable_get_buffer (GIMP_DRAWABLE (mask)), NULL,
+                      GEGL_ABYSS_NONE,
                       buffer, NULL);
 
     gimp_drawable_set_buffer (GIMP_DRAWABLE (mask), FALSE, NULL, buffer);
diff --git a/app/core/gimpimage-duplicate.c b/app/core/gimpimage-duplicate.c
index da4469b..cd142f7 100644
--- a/app/core/gimpimage-duplicate.c
+++ b/app/core/gimpimage-duplicate.c
@@ -395,7 +395,7 @@ gimp_image_duplicate_mask (GimpImage *image,
   mask     = GIMP_DRAWABLE (gimp_image_get_mask (image));
   new_mask = GIMP_DRAWABLE (gimp_image_get_mask (new_image));
 
-  gegl_buffer_copy (gimp_drawable_get_buffer (mask), NULL,
+  gegl_buffer_copy (gimp_drawable_get_buffer (mask), NULL, GEGL_ABYSS_NONE,
                     gimp_drawable_get_buffer (new_mask), NULL);
 
   GIMP_CHANNEL (new_mask)->bounds_known   = FALSE;
diff --git a/app/core/gimplayer.c b/app/core/gimplayer.c
index af47dd0..89c9b77 100644
--- a/app/core/gimplayer.c
+++ b/app/core/gimplayer.c
@@ -1018,7 +1018,7 @@ gimp_layer_convert_type (GimpDrawable      *drawable,
 
   if (layer_dither_type == 0)
     {
-      gegl_buffer_copy (gimp_drawable_get_buffer (drawable), NULL,
+      gegl_buffer_copy (gimp_drawable_get_buffer (drawable), NULL, GEGL_ABYSS_NONE,
                         dest_buffer, NULL);
     }
   else
@@ -1259,7 +1259,7 @@ gimp_layer_new_from_buffer (GeglBuffer           *buffer,
                           name, opacity, mode);
 
   dest = gimp_drawable_get_buffer (GIMP_DRAWABLE (layer));
-  gegl_buffer_copy (buffer, NULL, dest, NULL);
+  gegl_buffer_copy (buffer, NULL, GEGL_ABYSS_NONE, dest, NULL);
 
   return layer;
 }
@@ -1488,7 +1488,7 @@ gimp_layer_create_mask (const GimpLayer *layer,
             gimp_image_get_component_format (image, GIMP_ALPHA_CHANNEL);
 
           gegl_buffer_set_format (dest_buffer, component_format);
-          gegl_buffer_copy (gimp_drawable_get_buffer (drawable), NULL,
+          gegl_buffer_copy (gimp_drawable_get_buffer (drawable), NULL, GEGL_ABYSS_NONE,
                             dest_buffer, NULL);
           gegl_buffer_set_format (dest_buffer, NULL);
 
@@ -1549,6 +1549,7 @@ gimp_layer_create_mask (const GimpLayer *layer,
             gegl_buffer_copy (src,
                               GEGL_RECTANGLE (copy_x, copy_y,
                                               copy_width, copy_height),
+                              GEGL_ABYSS_NONE,
                               dest,
                               GEGL_RECTANGLE (copy_x - offset_x, copy_y - offset_y,
                                               0, 0));
@@ -1577,6 +1578,7 @@ gimp_layer_create_mask (const GimpLayer *layer,
                                copy_format);
 
             gegl_buffer_copy (gimp_drawable_get_buffer (drawable), NULL,
+                              GEGL_ABYSS_NONE,
                               src_buffer, NULL);
           }
         else
@@ -1598,7 +1600,8 @@ gimp_layer_create_mask (const GimpLayer *layer,
           }
         else
           {
-            gegl_buffer_copy (src_buffer, NULL, dest_buffer, NULL);
+            gegl_buffer_copy (src_buffer, NULL, GEGL_ABYSS_NONE,
+                              dest_buffer, NULL);
           }
 
         g_object_unref (src_buffer);
@@ -1895,7 +1898,7 @@ gimp_layer_add_alpha (GimpLayer *layer)
                                                 gimp_item_get_height (item)),
                                 gimp_drawable_get_format_with_alpha (drawable));
 
-  gegl_buffer_copy (gimp_drawable_get_buffer (drawable), NULL,
+  gegl_buffer_copy (gimp_drawable_get_buffer (drawable), NULL, GEGL_ABYSS_NONE,
                     new_buffer, NULL);
 
   gimp_drawable_set_buffer (GIMP_DRAWABLE (layer),
diff --git a/app/core/gimplayermask.c b/app/core/gimplayermask.c
index e75cb72..cc6d740 100644
--- a/app/core/gimplayermask.c
+++ b/app/core/gimplayermask.c
@@ -230,7 +230,7 @@ gimp_layer_mask_new_from_buffer (GeglBuffer    *buffer,
                                     name, color);
 
   dest = gimp_drawable_get_buffer (GIMP_DRAWABLE (layer_mask));
-  gegl_buffer_copy (buffer, NULL, dest, NULL);
+  gegl_buffer_copy (buffer, NULL, GEGL_ABYSS_NONE, dest, NULL);
 
   return layer_mask;
 }
diff --git a/app/core/gimpmaskundo.c b/app/core/gimpmaskundo.c
index 3efb559..e2bb354 100644
--- a/app/core/gimpmaskundo.c
+++ b/app/core/gimpmaskundo.c
@@ -113,6 +113,7 @@ gimp_mask_undo_constructed (GObject *object)
 
       gegl_buffer_copy (gimp_drawable_get_buffer (drawable),
                         GEGL_RECTANGLE (x1, y1, x2 - x1, y2 - y1),
+                        GEGL_ABYSS_NONE,
                         mask_undo->buffer,
                         GEGL_RECTANGLE (0, 0, 0, 0));
 
@@ -199,6 +200,7 @@ gimp_mask_undo_pop (GimpUndo            *undo,
 
       gegl_buffer_copy (gimp_drawable_get_buffer (drawable),
                         GEGL_RECTANGLE (x1, y1, x2 - x1, y2 - y1),
+                        GEGL_ABYSS_NONE,
                         new_buffer,
                         GEGL_RECTANGLE (0, 0, 0, 0));
 
@@ -233,6 +235,7 @@ gimp_mask_undo_pop (GimpUndo            *undo,
 
       gegl_buffer_copy (mask_undo->buffer,
                         NULL,
+                        GEGL_ABYSS_NONE,
                         gimp_drawable_get_buffer (drawable),
                         GEGL_RECTANGLE (mask_undo->x, mask_undo->y, 0, 0));
 
diff --git a/app/core/gimppattern.c b/app/core/gimppattern.c
index 23ae991..817c680 100644
--- a/app/core/gimppattern.c
+++ b/app/core/gimppattern.c
@@ -159,6 +159,7 @@ gimp_pattern_get_new_preview (GimpViewable *viewable,
   dest_buffer = gimp_temp_buf_create_buffer (temp_buf);
 
   gegl_buffer_copy (src_buffer,  GEGL_RECTANGLE (0, 0, copy_width, copy_height),
+                    GEGL_ABYSS_NONE,
                     dest_buffer, GEGL_RECTANGLE (0, 0, 0, 0));
 
   g_object_unref (src_buffer);
diff --git a/app/core/gimpselection.c b/app/core/gimpselection.c
index 77f0a3a..52d0a00 100644
--- a/app/core/gimpselection.c
+++ b/app/core/gimpselection.c
@@ -350,9 +350,6 @@ gimp_selection_invalidate_boundary (GimpDrawable *drawable)
                           gimp_item_get_width  (GIMP_ITEM (layer)),
                           gimp_item_get_height (GIMP_ITEM (layer)));
 
-#ifdef __GNUC__
-#warning FIXME is this still needed?
-#endif
 #if 0
   /*  invalidate the preview  */
   drawable->private->preview_valid = FALSE;
@@ -616,6 +613,7 @@ gimp_selection_load (GimpSelection *selection,
   /*  copy the channel to the mask  */
   gegl_buffer_copy (gimp_drawable_get_buffer (GIMP_DRAWABLE (channel)),
                     NULL,
+                    GEGL_ABYSS_NONE,
                     gimp_drawable_get_buffer (GIMP_DRAWABLE (selection)),
                     NULL);
 
@@ -740,6 +738,7 @@ gimp_selection_extract (GimpSelection *selection,
 
   /*  First, copy the pixels, possibly doing INDEXED->RGB and adding alpha  */
   gegl_buffer_copy (src_buffer,  GEGL_RECTANGLE (x1, y1, x2 - x1, y2 - y1),
+                    GEGL_ABYSS_NONE,
                     dest_buffer, GEGL_RECTANGLE (0, 0, 0, 0));
 
   if (non_empty)
diff --git a/app/gegl/gimp-gegl-apply-operation.c b/app/gegl/gimp-gegl-apply-operation.c
index 2f9f75f..cb38043 100644
--- a/app/gegl/gimp-gegl-apply-operation.c
+++ b/app/gegl/gimp-gegl-apply-operation.c
@@ -173,7 +173,7 @@ gimp_gegl_apply_cached_operation (GeglBuffer          *src_buffer,
 
       for (i = 0; i < n_valid_rects; i++)
         {
-          gegl_buffer_copy (cache,       valid_rects + i,
+          gegl_buffer_copy (cache,       valid_rects + i, GEGL_ABYSS_NONE,
                             dest_buffer, valid_rects + i);
 
           cairo_region_subtract_rectangle (region,
diff --git a/app/paint/gimpclone.c b/app/paint/gimpclone.c
index d342de0..b0b8872 100644
--- a/app/paint/gimpclone.c
+++ b/app/paint/gimpclone.c
@@ -168,6 +168,7 @@ gimp_clone_motion (GimpSourceCore   *source_core,
                                         src_rect->y,
                                         paint_area_width,
                                         paint_area_height),
+                        GEGL_ABYSS_NONE,
                         paint_buffer,
                         GEGL_RECTANGLE (paint_area_offset_x,
                                         paint_area_offset_y,
diff --git a/app/paint/gimpconvolve.c b/app/paint/gimpconvolve.c
index 1dde3ee..a6d3a13 100644
--- a/app/paint/gimpconvolve.c
+++ b/app/paint/gimpconvolve.c
@@ -180,6 +180,7 @@ gimp_convolve_motion (GimpPaintCore    *paint_core,
                                     paint_buffer_y,
                                     gegl_buffer_get_width  (paint_buffer),
                                     gegl_buffer_get_height (paint_buffer)),
+                    GEGL_ABYSS_NONE,
                     convolve_buffer,
                     GEGL_RECTANGLE (0, 0, 0, 0));
 
diff --git a/app/paint/gimpheal.c b/app/paint/gimpheal.c
index 6aea8c0..3be8200 100644
--- a/app/paint/gimpheal.c
+++ b/app/paint/gimpheal.c
@@ -521,8 +521,7 @@ gimp_heal_motion (GimpSourceCore   *source_core,
                                               src_rect->height),
                               babl_format ("R'G'B'A float"));
 
-  gegl_buffer_copy (src_buffer,
-                    src_rect,
+  gegl_buffer_copy (src_buffer, src_rect, GEGL_ABYSS_NONE,
                     src_copy,
                     GEGL_RECTANGLE (0, 0,
                                     src_rect->width,
@@ -532,6 +531,7 @@ gimp_heal_motion (GimpSourceCore   *source_core,
                     GEGL_RECTANGLE (paint_buffer_x, paint_buffer_y,
                                     gegl_buffer_get_width  (paint_buffer),
                                     gegl_buffer_get_height (paint_buffer)),
+                    GEGL_ABYSS_NONE,
                     paint_buffer,
                     GEGL_RECTANGLE (paint_area_offset_x,
                                     paint_area_offset_y,
diff --git a/app/paint/gimppaintcore.c b/app/paint/gimppaintcore.c
index 87e1258..8103ed5 100644
--- a/app/paint/gimppaintcore.c
+++ b/app/paint/gimppaintcore.c
@@ -545,6 +545,7 @@ gimp_paint_core_finish (GimpPaintCore *core,
 
       gegl_buffer_copy (core->undo_buffer,
                         GEGL_RECTANGLE (x, y, width, height),
+                        GEGL_ABYSS_NONE,
                         buffer,
                         GEGL_RECTANGLE (0, 0, 0, 0));
 
@@ -595,6 +596,7 @@ gimp_paint_core_cancel (GimpPaintCore *core,
     {
       gegl_buffer_copy (core->undo_buffer,
                         GEGL_RECTANGLE (x, y, width, height),
+                        GEGL_ABYSS_NONE,
                         gimp_drawable_get_buffer (drawable),
                         GEGL_RECTANGLE (x, y, width, height));
     }
diff --git a/app/paint/gimpsmudge.c b/app/paint/gimpsmudge.c
index 8c84a4d..055042a 100644
--- a/app/paint/gimpsmudge.c
+++ b/app/paint/gimpsmudge.c
@@ -219,6 +219,7 @@ gimp_smudge_start (GimpPaintCore    *paint_core,
                                     paint_buffer_y,
                                     gegl_buffer_get_width  (paint_buffer),
                                     gegl_buffer_get_height (paint_buffer)),
+                    GEGL_ABYSS_NONE,
                     smudge->accum_buffer,
                     GEGL_RECTANGLE (paint_buffer_x - x,
                                     paint_buffer_y - y,
@@ -313,6 +314,7 @@ gimp_smudge_motion (GimpPaintCore    *paint_core,
                                     paint_buffer_y - y,
                                     paint_buffer_width,
                                     paint_buffer_height),
+                    GEGL_ABYSS_NONE,
                     paint_buffer,
                     GEGL_RECTANGLE (0, 0, 0, 0));
 
diff --git a/app/text/gimptextlayer.c b/app/text/gimptextlayer.c
index b60a1a7..24a3219 100644
--- a/app/text/gimptextlayer.c
+++ b/app/text/gimptextlayer.c
@@ -749,7 +749,7 @@ gimp_text_layer_render_layout (GimpTextLayer  *layer,
 
   buffer = gimp_cairo_surface_create_buffer (surface);
 
-  gegl_buffer_copy (buffer, NULL,
+  gegl_buffer_copy (buffer, NULL, GEGL_ABYSS_NONE,
                     gimp_drawable_get_buffer (drawable), NULL);
 
   g_object_unref (buffer);
diff --git a/app/tools/gimpforegroundselecttool.c b/app/tools/gimpforegroundselecttool.c
index b668afe..cf1a5fd 100644
--- a/app/tools/gimpforegroundselecttool.c
+++ b/app/tools/gimpforegroundselecttool.c
@@ -1257,6 +1257,7 @@ gimp_foreground_select_undo_new (GeglBuffer          *trimap,
                                         gegl_buffer_get_format (trimap));
 
   gegl_buffer_copy (trimap,             GEGL_RECTANGLE (x1, y1, width, height),
+                    GEGL_ABYSS_NONE,
                     undo->saved_trimap, GEGL_RECTANGLE (0, 0, width, height));
 
   undo->trimap_x = x1;
@@ -1283,11 +1284,13 @@ gimp_foreground_select_undo_pop (StrokeUndo *undo,
   gegl_buffer_copy (trimap,
                     GEGL_RECTANGLE (undo->trimap_x, undo->trimap_y,
                                     width, height),
+                    GEGL_ABYSS_NONE,
                     undo->saved_trimap,
                     GEGL_RECTANGLE (0, 0, width, height));
 
   gegl_buffer_copy (buffer,
                     GEGL_RECTANGLE (0, 0, width, height),
+                    GEGL_ABYSS_NONE,
                     trimap,
                     GEGL_RECTANGLE (undo->trimap_x, undo->trimap_y,
                                     width, height));
diff --git a/app/widgets/gimpviewrenderer.c b/app/widgets/gimpviewrenderer.c
index e629ddd..e8f1bbd 100644
--- a/app/widgets/gimpviewrenderer.c
+++ b/app/widgets/gimpviewrenderer.c
@@ -1040,6 +1040,7 @@ gimp_view_render_temp_buf_to_surface (GimpViewRenderer *renderer,
                         GEGL_RECTANGLE (x - temp_buf_x,
                                         y - temp_buf_y,
                                         width, height),
+                        GEGL_ABYSS_NONE,
                         dest_buffer,
                         GEGL_RECTANGLE (0, 0, 0, 0));
 
@@ -1069,6 +1070,7 @@ gimp_view_render_temp_buf_to_surface (GimpViewRenderer *renderer,
                         GEGL_RECTANGLE (x - temp_buf_x,
                                         y - temp_buf_y,
                                         width, height),
+                        GEGL_ABYSS_NONE,
                         dest_buffer,
                         GEGL_RECTANGLE (x, y, 0, 0));
 
diff --git a/libgimp/gimplayer.c b/libgimp/gimplayer.c
index e087d0e..2a2008c 100644
--- a/libgimp/gimplayer.c
+++ b/libgimp/gimplayer.c
@@ -287,7 +287,8 @@ gimp_layer_new_from_surface (gint32                image_ID,
       src_buffer = gimp_cairo_surface_create_buffer (surface);
       dest_buffer = gimp_drawable_get_buffer (layer);
 
-      gegl_buffer_copy (src_buffer, NULL, dest_buffer, NULL);
+      gegl_buffer_copy (src_buffer, NULL, GEGL_ABYSS_NONE,
+                       dest_buffer, NULL);
 
       g_object_unref (src_buffer);
       g_object_unref (dest_buffer);
diff --git a/plug-ins/common/compose.c b/plug-ins/common/compose.c
index 41974e1..e8c0fb9 100644
--- a/plug-ins/common/compose.c
+++ b/plug-ins/common/compose.c
@@ -752,7 +752,7 @@ perform_composition (COMPOSE_DSC   curr_compose_dsc,
 
           temp[i] = gegl_buffer_new (extent, gray_format);
 
-          gegl_buffer_copy (buffer_src[i], NULL, temp[i], NULL);
+          gegl_buffer_copy (buffer_src[i], NULL, GEGL_ABYSS_NONE, temp[i], NULL);
 
           if (cpn_dsc.range_min != 0.0 || cpn_dsc.range_max != 1.0)
             cpn_affine_transform (temp[i], cpn_dsc.range_min, cpn_dsc.range_max);
@@ -779,7 +779,7 @@ perform_composition (COMPOSE_DSC   curr_compose_dsc,
   gimp_progress_update ((gdouble) num_images / (gdouble) (num_images + 1.0));
 
   /* Copy back to the format GIMP wants (and perform the conversion in itself) */
-  gegl_buffer_copy (dst_temp, NULL, buffer_dst, NULL);
+  gegl_buffer_copy (dst_temp, NULL, GEGL_ABYSS_NONE, buffer_dst, NULL);
 
   for (i = 0; i< num_images; i++)
     if( inputs[i].is_ID)
diff --git a/plug-ins/common/crop-zealous.c b/plug-ins/common/crop-zealous.c
index 90a7a9c..1cb35db 100644
--- a/plug-ins/common/crop-zealous.c
+++ b/plug-ins/common/crop-zealous.c
@@ -268,6 +268,7 @@ do_zcrop (gint32  drawable_id,
         {
           gegl_buffer_copy (drawable_buffer,
                             GEGL_RECTANGLE (0, y, width, 1),
+                            GEGL_ABYSS_NONE,
                             shadow_buffer,
                             GEGL_RECTANGLE (0, destrow, width, 1));
 
@@ -286,6 +287,7 @@ do_zcrop (gint32  drawable_id,
         {
           gegl_buffer_copy (shadow_buffer,
                             GEGL_RECTANGLE (x, 0, 1, height),
+                            GEGL_ABYSS_NONE,
                             shadow_buffer,
                             GEGL_RECTANGLE (destcol, 0, 1, height));
 
diff --git a/plug-ins/common/decompose.c b/plug-ins/common/decompose.c
index b332537..7ef08bf 100644
--- a/plug-ins/common/decompose.c
+++ b/plug-ins/common/decompose.c
@@ -745,7 +745,7 @@ copy_one_component (GeglBuffer      *src,
 
   /* we want to copy the component as is */
   gegl_buffer_set_format (temp, component_format);
-  gegl_buffer_copy (src, NULL, temp, NULL);
+  gegl_buffer_copy (src, NULL, GEGL_ABYSS_NONE, temp, NULL);
 
   if (component.range_min != 0.0 || component.range_max != 1.0 || clamp)
     cpn_affine_transform_clamp (temp, component.range_min, component.range_max);
@@ -754,7 +754,7 @@ copy_one_component (GeglBuffer      *src,
   gegl_buffer_set_format (temp, NULL);
 
   /* Now we let babl convert it back to the format that dst needs */
-  gegl_buffer_copy (temp, NULL, dst, NULL);
+  gegl_buffer_copy (temp, NULL, GEGL_ABYSS_NONE, dst, NULL);
 
   g_object_unref (temp);
 }
diff --git a/plug-ins/common/file-gegl.c b/plug-ins/common/file-gegl.c
index 83cb7c7..37ae4d2 100644
--- a/plug-ins/common/file-gegl.c
+++ b/plug-ins/common/file-gegl.c
@@ -447,7 +447,7 @@ load_image (const gchar  *filename,
 
   gimp_progress_update (0.66);
 
-  gegl_buffer_copy (src_buf, NULL, dest_buf, NULL);
+  gegl_buffer_copy (src_buf, NULL, GEGL_ABYSS_NONE, dest_buf, NULL);
 
   g_object_unref (src_buf);
   g_object_unref (dest_buf);
diff --git a/plug-ins/common/file-pdf-save.c b/plug-ins/common/file-pdf-save.c
index c5d92d2..1d7bddf 100644
--- a/plug-ins/common/file-pdf-save.c
+++ b/plug-ins/common/file-pdf-save.c
@@ -1273,7 +1273,7 @@ get_drawable_image (gint32 drawable_ID,
 
   dest_buffer = gimp_cairo_surface_create_buffer (surface);
 
-  gegl_buffer_copy (src_buffer, NULL, dest_buffer, NULL);
+  gegl_buffer_copy (src_buffer, NULL, GEGL_ABYSS_NONE, dest_buffer, NULL);
 
   cairo_surface_mark_dirty (surface);
 
diff --git a/plug-ins/file-ico/ico-dialog.c b/plug-ins/file-ico/ico-dialog.c
index 6714da4..571e8b8 100644
--- a/plug-ins/file-ico/ico-dialog.c
+++ b/plug-ins/file-ico/ico-dialog.c
@@ -296,7 +296,7 @@ ico_dialog_update_icon_preview (GtkWidget *dialog,
                        format, buf,
                        GEGL_AUTO_ROWSTRIDE, GEGL_ABYSS_NONE);
 
-      gegl_buffer_copy (buffer, NULL, tmp, NULL);
+      gegl_buffer_copy (buffer, NULL, GEGL_ABYSS_NONE, tmp, NULL);
 
       g_object_unref (tmp);
       g_object_unref (buffer);
@@ -388,7 +388,7 @@ ico_dialog_update_icon_preview (GtkWidget *dialog,
       buffer = gimp_drawable_get_buffer (layer);
       tmp    = gimp_drawable_get_buffer (tmp_layer);
 
-      gegl_buffer_copy (buffer, NULL, tmp, NULL);
+      gegl_buffer_copy (buffer, NULL, GEGL_ABYSS_NONE, tmp, NULL);
 
       g_object_unref (tmp);
       g_object_unref (buffer);
diff --git a/plug-ins/file-ico/ico-save.c b/plug-ins/file-ico/ico-save.c
index d6e9add..add4a32 100644
--- a/plug-ins/file-ico/ico-save.c
+++ b/plug-ins/file-ico/ico-save.c
@@ -637,7 +637,7 @@ ico_image_get_reduced_buf (guint32   layer,
                        format, buf,
                        GEGL_AUTO_ROWSTRIDE, GEGL_ABYSS_NONE);
 
-      gegl_buffer_copy (buffer, NULL, tmp, NULL);
+      gegl_buffer_copy (buffer, NULL, GEGL_ABYSS_NONE, tmp, NULL);
 
       g_object_unref (tmp);
 


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