summaryrefslogtreecommitdiff
path: root/src/cairo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cairo.h')
-rw-r--r--src/cairo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo.h b/src/cairo.h
index 025ca6c9..917d3640 100644
--- a/src/cairo.h
+++ b/src/cairo.h
@@ -2368,7 +2368,7 @@ cairo_public cairo_region_t *
cairo_region_create (void);
cairo_public cairo_region_t *
-cairo_region_create_rectangle (cairo_rectangle_int_t *rectangle);
+cairo_region_create_rectangle (const cairo_rectangle_int_t *rectangle);
cairo_public cairo_region_t *
cairo_region_copy (cairo_region_t *original);
@@ -2409,7 +2409,7 @@ cairo_region_subtract (cairo_region_t *dst, cairo_region_t *other);
cairo_public cairo_status_t
cairo_region_subtract_rectangle (cairo_region_t *dst,
- cairo_rectangle_int_t *rectangle);
+ const cairo_rectangle_int_t *rectangle);
cairo_public cairo_status_t
cairo_region_intersect (cairo_region_t *dst, cairo_region_t *other);