summaryrefslogtreecommitdiff
path: root/pango/pango-markup.c
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-markup.c
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-markup.c')
-rw-r--r--pango/pango-markup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-markup.c b/pango/pango-markup.c
index 5f68b8cd..d2d39409 100644
--- a/pango/pango-markup.c
+++ b/pango/pango-markup.c
@@ -539,7 +539,7 @@ xml_isspace (char c)
return c == ' ' || c == '\t' || c == '\n' || c == '\r';
}
-static GMarkupParser pango_markup_parser = {
+static const GMarkupParser pango_markup_parser = {
start_element_handler,
end_element_handler,
text_handler,