summaryrefslogtreecommitdiff
path: root/pango/pango-script-lang-table.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2005-03-05 00:50:29 +0000
committerOwen Taylor <otaylor@src.gnome.org>2005-03-05 00:50:29 +0000
commit320f8cd2773015af4d3d1d5fb035c2ab11d5c921 (patch)
tree9b18fda40ede9bb4956297f1230d51e2cde8881a /pango/pango-script-lang-table.h
parenta0fac74e05f36a410256e581eca3ec8fd573195d (diff)
downloadpango-320f8cd2773015af4d3d1d5fb035c2ab11d5c921.tar.gz
Reduce non-shared data (#168899, inspired by patches from Tommi Komulainen
2005-03-04 Owen Taylor <otaylor@redhat.com> Reduce non-shared data (#168899, inspired by patches from Tommi Komulainen and Ross Burton) * pango/pango-color.c pango/pango-color-table.h tools/gen-color-table.pl: Redo storage of colors to use offsets into a static string rather than embedded strings. (Inspired by a patch from Tommi Komulainen, #168899) * pango/break.c pango/fonts.c pango/pango-color.c pango/pango-layout.c pango/pango-markup.c pango/pango-script-lang-table.h pango/mini-fribidi/fribidi_types.c tools/gen-script-for-lang.c: Add const in various places * modules/arabic/arabic-fc.c modules/hebrew/hebrew-fc.c: modules/indic/{indic-fc.c,indic-ot-class-tables.c, indic-ot.h} modules/syriac/syriac-ot.c (syriac): Further addition of const.
Diffstat (limited to 'pango/pango-script-lang-table.h')
-rw-r--r--pango/pango-script-lang-table.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-script-lang-table.h b/pango/pango-script-lang-table.h
index e3f0b783..a74e2635 100644
--- a/pango/pango-script-lang-table.h
+++ b/pango/pango-script-lang-table.h
@@ -10,7 +10,7 @@ typedef struct {
PangoScript scripts[3];
} PangoScriptForLang;
-PangoScriptForLang pango_script_for_lang[] = {
+static const PangoScriptForLang pango_script_for_lang[] = {
{ "aa", { PANGO_SCRIPT_LATIN, PANGO_SCRIPT_INVALID_CODE, PANGO_SCRIPT_INVALID_CODE } },
{ "ab", { PANGO_SCRIPT_CYRILLIC, PANGO_SCRIPT_INVALID_CODE, PANGO_SCRIPT_INVALID_CODE } },
{ "af", { PANGO_SCRIPT_LATIN, PANGO_SCRIPT_INVALID_CODE, PANGO_SCRIPT_INVALID_CODE } },