summaryrefslogtreecommitdiff
path: root/pango/pango-impl-utils.h
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-01-05 16:14:49 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-01-05 16:14:49 +0000
commit59e692ee5a119653d8743dcd7e066800a56cb9ff (patch)
treeb9a526d0d32a1654eb6b034cbecb6f26641a59c3 /pango/pango-impl-utils.h
parent8462bd8cbfa15641147781889820b6e9b1ce1fb3 (diff)
downloadpango-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/pango-impl-utils.h')
-rw-r--r--pango/pango-impl-utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-impl-utils.h b/pango/pango-impl-utils.h
index 498a886c..7dabeb47 100644
--- a/pango/pango-impl-utils.h
+++ b/pango/pango-impl-utils.h
@@ -51,7 +51,7 @@ prefix ## _get_type (void) \
}; \
\
object_type = g_type_register_static (parent_type, \
- # name, \
+ g_intern_static_string (# name), \
&object_info, abstract); \
} \
\