app: remove the unused copy_region_nocow()

This commit is contained in:
Michael Natterer
2012-03-15 11:07:51 +01:00
parent 2e6a33e02f
commit caeeca2111
2 changed files with 0 additions and 27 deletions

View File

@ -2001,31 +2001,6 @@ copy_region (PixelRegion *src,
}
}
void
copy_region_nocow (PixelRegion *src,
PixelRegion *dest)
{
gpointer pr;
for (pr = pixel_regions_register (2, src, dest);
pr != NULL;
pr = pixel_regions_process (pr))
{
const guchar *s = src->data;
guchar *d = dest->data;
gint pixels = src->w * src->bytes;
gint h = src->h;
while (h --)
{
memcpy (d, s, pixels);
s += src->rowstride;
d += dest->rowstride;
}
}
}
void
add_alpha_region (PixelRegion *src,

View File

@ -369,8 +369,6 @@ void shade_region (PixelRegion *src,
void copy_region (PixelRegion *src,
PixelRegion *dest);
void copy_region_nocow (PixelRegion *src,
PixelRegion *dest);
void add_alpha_region (PixelRegion *src,
PixelRegion *dest);