app: remove gimp-scratch; replace with gegl-scratch

The scratch allocator has been moved to GEGL (commit
gegl@b99032d799dda3436ffa8c1cc28f8b0d34fb965d).  Remove gimp-
scratch, and replace all its uses with gegl-scratch.

(cherry picked from commit 889e2e26ee)
This commit is contained in:
Ell
2019-01-06 07:06:49 -05:00
parent f82eab6c95
commit fbf73bee70
8 changed files with 7 additions and 281 deletions

View File

@ -32,8 +32,6 @@
#include "../operations-types.h"
#include "core/gimp-scratch.h"
#include "gimpoperationlayermode-blend.h"
@ -876,7 +874,7 @@ gimp_operation_layer_mode_blend_luminance (const gfloat *in,
if (! fish)
fish = babl_fish ("RGBA float", "Y float");
scratch = gimp_scratch_new (gfloat, 2 * samples);
scratch = gegl_scratch_new (gfloat, 2 * samples);
in_Y = scratch;
layer_Y = scratch + samples;
@ -904,7 +902,7 @@ gimp_operation_layer_mode_blend_luminance (const gfloat *in,
layer_Y ++;
}
gimp_scratch_free (scratch);
gegl_scratch_free (scratch);
}
void