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/glyphstring.c | |
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/glyphstring.c')
-rw-r--r-- | pango/glyphstring.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pango/glyphstring.c b/pango/glyphstring.c index 4c10f56e..848f5233 100644 --- a/pango/glyphstring.c +++ b/pango/glyphstring.c @@ -22,6 +22,7 @@ #include <glib.h> #include <pango/pango-glyph.h> #include <pango/pango-font.h> +#include <pango/pango-utils.h> /** * pango_glyph_string_new: @@ -77,7 +78,7 @@ pango_glyph_string_get_type (void) static GType our_type = 0; if (our_type == 0) - our_type = g_boxed_type_register_static ("PangoGlyphString", + our_type = g_boxed_type_register_static (I_("PangoGlyphString"), (GBoxedCopyFunc)pango_glyph_string_copy, (GBoxedFreeFunc)pango_glyph_string_free); |