summaryrefslogtreecommitdiff
path: root/modules/thai
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-02-09 17:14:08 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-02-09 17:14:08 +0000
commit6a1d710752a012cb3e2f8646841a583b7d00d87c (patch)
treecbaf9eb816b7451228b7aee25243122fb8536fe5 /modules/thai
parent4e8c3abb5bd74af3c2503d21b537e0f1ff34eff2 (diff)
downloadpango-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 'modules/thai')
-rw-r--r--modules/thai/thai-shaper.c2
-rw-r--r--modules/thai/thai-shaper.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/thai/thai-shaper.c b/modules/thai/thai-shaper.c
index bb62a9c1..409b3083 100644
--- a/modules/thai/thai-shaper.c
+++ b/modules/thai/thai-shaper.c
@@ -528,7 +528,7 @@ thai_engine_shape (PangoEngineShape *engine,
PangoFont *font,
const char *text,
gint length,
- PangoAnalysis *analysis,
+ const PangoAnalysis *analysis,
PangoGlyphString *glyphs)
{
gint n_chars;
diff --git a/modules/thai/thai-shaper.h b/modules/thai/thai-shaper.h
index 94322ab0..3349ed3b 100644
--- a/modules/thai/thai-shaper.h
+++ b/modules/thai/thai-shaper.h
@@ -81,7 +81,7 @@ thai_engine_shape (PangoEngineShape *engine,
PangoFont *font,
const char *text,
gint length,
- PangoAnalysis *analysis,
+ const PangoAnalysis *analysis,
PangoGlyphString *glyphs);
#endif /* __THAI_SHAPER_H__ */