app: use gimp_gegl_buffer_copy() all over the place
Replace all uses of gegl_buffer_copy() in app/ with
gimp_gegl_buffer_copy(), added in the previous commit.
(cherry picked from commit 08ff2ac8c8)
This commit is contained in:
@ -20,9 +20,13 @@
|
||||
#include <gdk-pixbuf/gdk-pixbuf.h>
|
||||
#include <gegl.h>
|
||||
|
||||
#include "libgimpbase/gimpbase.h"
|
||||
|
||||
#include "core-types.h"
|
||||
|
||||
#include "libgimpbase/gimpbase.h"
|
||||
#include "gegl/gimp-gegl-loops.h"
|
||||
|
||||
#include "vectors/gimpvectors.h"
|
||||
|
||||
#include "gimp.h"
|
||||
#include "gimpchannel.h"
|
||||
@ -44,8 +48,6 @@
|
||||
#include "gimpparasitelist.h"
|
||||
#include "gimpsamplepoint.h"
|
||||
|
||||
#include "vectors/gimpvectors.h"
|
||||
|
||||
|
||||
static void gimp_image_duplicate_resolution (GimpImage *image,
|
||||
GimpImage *new_image);
|
||||
@ -399,8 +401,8 @@ 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_ABYSS_NONE,
|
||||
gimp_drawable_get_buffer (new_mask), NULL);
|
||||
gimp_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;
|
||||
GIMP_CHANNEL (new_mask)->boundary_known = FALSE;
|
||||
|
||||
Reference in New Issue
Block a user