summaryrefslogtreecommitdiff
path: root/modules
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
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')
-rw-r--r--modules/arabic/arabic-fc.c4
-rw-r--r--modules/basic/basic-fc.c4
-rw-r--r--modules/basic/basic-x.c2
-rw-r--r--modules/hangul/hangul-fc.c2
-rw-r--r--modules/hebrew/hebrew-fc.c4
-rw-r--r--modules/indic/indic-fc.c2
-rw-r--r--modules/khmer/khmer-fc.c2
-rw-r--r--modules/syriac/syriac-fc.c4
-rw-r--r--modules/thai/thai-shaper.c2
-rw-r--r--modules/thai/thai-shaper.h2
-rw-r--r--modules/tibetan/tibetan-fc.c2
11 files changed, 15 insertions, 15 deletions
diff --git a/modules/arabic/arabic-fc.c b/modules/arabic/arabic-fc.c
index 50a0eb68..0b3faefa 100644
--- a/modules/arabic/arabic-fc.c
+++ b/modules/arabic/arabic-fc.c
@@ -176,7 +176,7 @@ fallback_shape (PangoEngineShape *engine,
PangoFont *font,
const char *text,
gint length,
- PangoAnalysis *analysis,
+ const PangoAnalysis *analysis,
PangoGlyphString *glyphs)
{
PangoFcFont *fc_font = PANGO_FC_FONT (font);
@@ -253,7 +253,7 @@ arabic_engine_shape (PangoEngineShape *engine,
PangoFont *font,
const char *text,
gint length,
- PangoAnalysis *analysis,
+ const PangoAnalysis *analysis,
PangoGlyphString *glyphs)
{
PangoFcFont *fc_font;
diff --git a/modules/basic/basic-fc.c b/modules/basic/basic-fc.c
index 80694bad..dc77ef00 100644
--- a/modules/basic/basic-fc.c
+++ b/modules/basic/basic-fc.c
@@ -130,7 +130,7 @@ fallback_shape (PangoEngineShape *engine,
PangoFont *font,
const char *text,
gint length,
- PangoAnalysis *analysis,
+ const PangoAnalysis *analysis,
PangoGlyphString *glyphs)
{
PangoFcFont *fc_font = PANGO_FC_FONT (font);
@@ -324,7 +324,7 @@ basic_engine_shape (PangoEngineShape *engine,
PangoFont *font,
const char *text,
gint length,
- PangoAnalysis *analysis,
+ const PangoAnalysis *analysis,
PangoGlyphString *glyphs)
{
PangoFcFont *fc_font;
diff --git a/modules/basic/basic-x.c b/modules/basic/basic-x.c
index 451ea6da..1f23291c 100644
--- a/modules/basic/basic-x.c
+++ b/modules/basic/basic-x.c
@@ -560,7 +560,7 @@ basic_engine_shape (PangoEngineShape *engine,
PangoFont *font,
const char *text,
gint length,
- PangoAnalysis *analysis,
+ const PangoAnalysis *analysis,
PangoGlyphString *glyphs)
{
int n_chars;
diff --git a/modules/hangul/hangul-fc.c b/modules/hangul/hangul-fc.c
index 7c169a9d..39e0d5ba 100644
--- a/modules/hangul/hangul-fc.c
+++ b/modules/hangul/hangul-fc.c
@@ -305,7 +305,7 @@ hangul_engine_shape (PangoEngineShape *engine,
PangoFont *font,
const char *text,
gint length,
- PangoAnalysis *analysis,
+ const PangoAnalysis *analysis,
PangoGlyphString *glyphs)
{
int n_chars, n_glyphs;
diff --git a/modules/hebrew/hebrew-fc.c b/modules/hebrew/hebrew-fc.c
index 454e00ca..dcb45b40 100644
--- a/modules/hebrew/hebrew-fc.c
+++ b/modules/hebrew/hebrew-fc.c
@@ -230,7 +230,7 @@ fallback_shape (PangoEngineShape *engine,
PangoFont *font,
const char *text,
gint length,
- PangoAnalysis *analysis,
+ const PangoAnalysis *analysis,
PangoGlyphString *glyphs)
{
const char *p;
@@ -292,7 +292,7 @@ hebrew_engine_shape (PangoEngineShape *engine,
PangoFont *font,
const char *text,
gint length,
- PangoAnalysis *analysis,
+ const PangoAnalysis *analysis,
PangoGlyphString *glyphs)
{
PangoFcFont *fc_font;
diff --git a/modules/indic/indic-fc.c b/modules/indic/indic-fc.c
index 021d3ef8..3011a66a 100644
--- a/modules/indic/indic-fc.c
+++ b/modules/indic/indic-fc.c
@@ -321,7 +321,7 @@ indic_engine_shape (PangoEngineShape *engine,
PangoFont *font,
const char *text,
gint length,
- PangoAnalysis *analysis,
+ const PangoAnalysis *analysis,
PangoGlyphString *glyphs)
{
PangoFcFont *fc_font;
diff --git a/modules/khmer/khmer-fc.c b/modules/khmer/khmer-fc.c
index 2804741e..9fd9bab5 100644
--- a/modules/khmer/khmer-fc.c
+++ b/modules/khmer/khmer-fc.c
@@ -519,7 +519,7 @@ khmer_engine_shape (PangoEngineShape *engine,
PangoFont *font,
const char *text,
int length,
- PangoAnalysis *analysis,
+ const PangoAnalysis *analysis,
PangoGlyphString *glyphs)
{
PangoFcFont *fc_font;
diff --git a/modules/syriac/syriac-fc.c b/modules/syriac/syriac-fc.c
index 9cbbf511..1e10df3e 100644
--- a/modules/syriac/syriac-fc.c
+++ b/modules/syriac/syriac-fc.c
@@ -176,7 +176,7 @@ fallback_shape (PangoEngineShape *engine,
PangoFont *font,
const char *text,
gint length,
- PangoAnalysis *analysis,
+ const PangoAnalysis *analysis,
PangoGlyphString *glyphs)
{
PangoFcFont *fc_font = PANGO_FC_FONT (font);
@@ -245,7 +245,7 @@ syriac_engine_shape (PangoEngineShape *engine,
PangoFont *font,
const char *text,
gint length,
- PangoAnalysis *analysis,
+ const PangoAnalysis *analysis,
PangoGlyphString *glyphs)
{
PangoFcFont *fc_font;
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__ */
diff --git a/modules/tibetan/tibetan-fc.c b/modules/tibetan/tibetan-fc.c
index 50a0b046..1781edca 100644
--- a/modules/tibetan/tibetan-fc.c
+++ b/modules/tibetan/tibetan-fc.c
@@ -484,7 +484,7 @@ tibetan_engine_shape (PangoEngineShape *engine,
PangoFont *font,
const char *text,
int length,
- PangoAnalysis *analysis,
+ const PangoAnalysis *analysis,
PangoGlyphString *glyphs)
{
PangoFcFont *fc_font;