diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-02-09 17:14:08 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-02-09 17:14:08 +0000 |
commit | 6a1d710752a012cb3e2f8646841a583b7d00d87c (patch) | |
tree | cbaf9eb816b7451228b7aee25243122fb8536fe5 /pango/pango-engine.c | |
parent | 4e8c3abb5bd74af3c2503d21b537e0f1ff34eff2 (diff) | |
download | pango-6a1d710752a012cb3e2f8646841a583b7d00d87c.tar.gz |
Bug 314548 – pango_shape() is missing const correctness Patch from
2006-02-09 Behdad Esfahbod <behdad@gnome.org>
Bug 314548 – pango_shape() is missing const correctness
Patch from Antoine Dopffer.
* modules/arabic/arabic-fc.c, modules/basic/basic-fc.c,
modules/basic/basic-x.c, modules/hangul/hangul-fc.c,
modules/hebrew/hebrew-fc.c, modules/indic/indic-fc.c,
modules/khmer/khmer-fc.c, modules/syriac/syriac-fc.c,
modules/thai/thai-shaper.c, modules/thai/thai-shaper.h,
modules/tibetan/tibetan-fc.c, pango/pango-context.c,
pango/pango-engine-private.h, pango/pango-engine.c,
pango/pango-engine.h, pango/pango-glyph.h pango/pango-layout.c,
pango/shape.c: Make PangoAnalysis *analysis const in all shaper
interfaces.
Diffstat (limited to 'pango/pango-engine.c')
-rw-r--r-- | pango/pango-engine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pango-engine.c b/pango/pango-engine.c index ed7df7d2..da06a516 100644 --- a/pango/pango-engine.c +++ b/pango/pango-engine.c @@ -63,7 +63,7 @@ _pango_engine_shape_shape (PangoEngineShape *engine, PangoFont *font, const char *text, int length, - PangoAnalysis *analysis, + const PangoAnalysis *analysis, PangoGlyphString *glyphs) { glyphs->num_glyphs = 0; @@ -99,7 +99,7 @@ fallback_engine_shape (PangoEngineShape *engine, PangoFont *font, const char *text, gint length, - PangoAnalysis *analysis, + const PangoAnalysis *analysis, PangoGlyphString *glyphs) { int n_chars; |