diff options
-rw-r--r-- | src/cairo-gstate.c | 2 | ||||
-rw-r--r-- | src/cairo.c | 2 | ||||
-rw-r--r-- | src/cairo.h | 2 | ||||
-rw-r--r-- | src/cairoint.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/cairo-gstate.c b/src/cairo-gstate.c index 2f9079bb1..832c520da 100644 --- a/src/cairo-gstate.c +++ b/src/cairo-gstate.c @@ -1411,7 +1411,7 @@ _cairo_gstate_glyph_extents (cairo_gstate_t *gstate, cairo_status_t _cairo_gstate_show_glyphs (cairo_gstate_t *gstate, - cairo_glyph_t *glyphs, + const cairo_glyph_t *glyphs, int num_glyphs) { cairo_status_t status; diff --git a/src/cairo.c b/src/cairo.c index 425a71761..59844ffac 100644 --- a/src/cairo.c +++ b/src/cairo.c @@ -2537,7 +2537,7 @@ cairo_show_text (cairo_t *cr, const char *utf8) } void -cairo_show_glyphs (cairo_t *cr, cairo_glyph_t *glyphs, int num_glyphs) +cairo_show_glyphs (cairo_t *cr, const cairo_glyph_t *glyphs, int num_glyphs) { if (cr->status) return; diff --git a/src/cairo.h b/src/cairo.h index bac27fdb5..e9ac35acc 100644 --- a/src/cairo.h +++ b/src/cairo.h @@ -894,7 +894,7 @@ cairo_public void cairo_show_text (cairo_t *cr, const char *utf8); cairo_public void -cairo_show_glyphs (cairo_t *cr, cairo_glyph_t *glyphs, int num_glyphs); +cairo_show_glyphs (cairo_t *cr, const cairo_glyph_t *glyphs, int num_glyphs); cairo_public cairo_font_face_t * cairo_get_font_face (cairo_t *cr); diff --git a/src/cairoint.h b/src/cairoint.h index 255ac1e93..0ee33dcd1 100644 --- a/src/cairoint.h +++ b/src/cairoint.h @@ -1378,7 +1378,7 @@ _cairo_gstate_glyph_extents (cairo_gstate_t *gstate, cairo_private cairo_status_t _cairo_gstate_show_glyphs (cairo_gstate_t *gstate, - cairo_glyph_t *glyphs, + const cairo_glyph_t *glyphs, int num_glyphs); cairo_private cairo_status_t |