summaryrefslogtreecommitdiff
path: root/src/cairo-surface-fallback.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-01-18 18:20:16 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2010-01-22 23:01:49 +0000
commitcfd204824fada7d2b4bcf4994c4200ae9b5a8b26 (patch)
treec4497f1fca6f7230666635b1779c75c4b14cd91f /src/cairo-surface-fallback.c
parent3e17c559b04e2df208f28125746d7e0acfb4b476 (diff)
Constify stroke style and matrices.
As a simple step to ensure that we do not inadvertently modify (or at least generate compiler warns if we try) user data, mark the incoming style and matrices as constant.
Diffstat (limited to 'src/cairo-surface-fallback.c')
-rw-r--r--src/cairo-surface-fallback.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cairo-surface-fallback.c b/src/cairo-surface-fallback.c
index c9f9a01c..dbc2a217 100644
--- a/src/cairo-surface-fallback.c
+++ b/src/cairo-surface-fallback.c
@@ -1149,9 +1149,9 @@ _cairo_surface_fallback_stroke (cairo_surface_t *surface,
cairo_operator_t op,
const cairo_pattern_t *source,
cairo_path_fixed_t *path,
- cairo_stroke_style_t *stroke_style,
- cairo_matrix_t *ctm,
- cairo_matrix_t *ctm_inverse,
+ const cairo_stroke_style_t *stroke_style,
+ const cairo_matrix_t *ctm,
+ const cairo_matrix_t *ctm_inverse,
double tolerance,
cairo_antialias_t antialias,
cairo_clip_t *clip)