From ad8a5680e6d3fd1ad77ae2c1a3d38ebe2042f2cb Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 22 Feb 2016 14:18:05 +0100 Subject: Drop const from fz_shade. Shading objects are immutable and opaque once constructed. Therefore there is no need for the const keyword. --- source/fitz/bbox-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/fitz/bbox-device.c') diff --git a/source/fitz/bbox-device.c b/source/fitz/bbox-device.c index 83be00c8..960bf0eb 100644 --- a/source/fitz/bbox-device.c +++ b/source/fitz/bbox-device.c @@ -66,7 +66,7 @@ fz_bbox_stroke_text(fz_context *ctx, fz_device *dev, const fz_text *text, const } static void -fz_bbox_fill_shade(fz_context *ctx, fz_device *dev, const fz_shade *shade, const fz_matrix *ctm, float alpha) +fz_bbox_fill_shade(fz_context *ctx, fz_device *dev, fz_shade *shade, const fz_matrix *ctm, float alpha) { fz_rect r; fz_bbox_add_rect(ctx, dev, fz_bound_shade(ctx, shade, ctm, &r), 0); -- cgit v1.2.3