diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-01-05 16:14:49 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-01-05 16:14:49 +0000 |
commit | 59e692ee5a119653d8743dcd7e066800a56cb9ff (patch) | |
tree | b9a526d0d32a1654eb6b034cbecb6f26641a59c3 /pango/Makefile.am | |
parent | 8462bd8cbfa15641147781889820b6e9b1ce1fb3 (diff) | |
download | pango-59e692ee5a119653d8743dcd7e066800a56cb9ff.tar.gz |
pango/Makefile.am, pango/fonts.c, pango/glyphstring.c,
2006-01-05 Behdad Esfahbod <behdad@gnome.org>
* pango/Makefile.am,
* pango/fonts.c,
* pango/glyphstring.c,
* pango/pango-attributes.c,
* pango/pango-color.c,
* pango/pango-impl-utils.h,
* pango/pango-item.c,
* pango/pango-layout.c,
* pango/pango-tabs.c,
* pango/pango-utils.c,
* pango/pango-utils.h,
* pango/pangoatsui-fontmap.c,
* pango/pangocairo-font.c,
* pango/pangocairo-fontmap.c,
* pango/pangofc-fontmap.c,
* pango/pangowin32-fontmap.c,
* pango/pangox-fontmap.c,
* pango/pangox.c,
* pango/opentype/pango-ot-info.c,
* pango/opentype/pango-ot-ruleset.c: Intern strings to avoid
unnecessary strdups in the type system. (bug #325832, Matthias Clasen)
Diffstat (limited to 'pango/Makefile.am')
-rw-r--r-- | pango/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/Makefile.am b/pango/Makefile.am index 15901878..caf43a3e 100644 --- a/pango/Makefile.am +++ b/pango/Makefile.am @@ -138,7 +138,7 @@ s-enum-types-c: @REBUILD@ $(pango_headers) Makefile --fprod "\n/* enumerations from \"@filename@\" */" \ --vhead "GType\n@enum_name@_get_type (void)\n{\n static GType etype = 0;\n if (etype == 0) {\n static const G@Type@Value values[] = {" \ --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ - --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \ + --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (g_intern_static_string (\"@EnumName@\"), values);\n }\n return etype;\n}\n" \ $(pango_headers) ) > tmp-pango-enum-types.c \ && (cmp -s tmp-pango-enum-types.c pango-enum-types.c || cp tmp-pango-enum-types.c pango-enum-types.c ) \ && rm -f tmp-pango-enum-types.c \ |