diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2007-06-20 20:27:55 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2007-06-20 20:27:55 +0000 |
commit | 079670f3cc18c2e93cab1f8ffa265f288aaf26b5 (patch) | |
tree | ba34e49443392b5cd138e846a9c5e4221270cfc1 /pango/pangox.c | |
parent | b155319f07db4460a1e4f683c78e9e5182552f3f (diff) | |
download | pango-079670f3cc18c2e93cab1f8ffa265f288aaf26b5.tar.gz |
Add G_UNLIKELY() to type registration block in _get_type() functions.
2007-06-20 Behdad Esfahbod <behdad@gnome.org>
* pango/fonts.c (pango_font_description_get_type),
(pango_font_metrics_get_type):
* pango/glyphstring.c (pango_glyph_string_get_type):
* pango/pango-attributes.c (pango_attr_list_get_type):
* pango/pango-color.c (pango_color_get_type):
* pango/pango-item.c (pango_item_get_type):
* pango/pango-language.c (pango_language_get_type):
* pango/pango-layout.c (pango_layout_line_get_type),
(pango_layout_iter_get_type):
* pango/pango-matrix.c (pango_matrix_get_type):
* pango/pango-ot-info.c (pango_ot_info_get_type):
* pango/pango-ot-ruleset.c (pango_ot_ruleset_get_type):
* pango/pango-tabs.c (pango_tab_array_get_type):
* pango/pangoatsui-fontmap.c (pango_atsui_family_get_type),
(pango_atsui_face_get_type):
* pango/pangofc-fontmap.c (pango_fc_face_get_type),
(pango_fc_family_get_type):
* pango/pangowin32-fontmap.c (pango_win32_family_get_type),
(pango_win32_face_get_type):
* pango/pangox-fontmap.c (pango_x_font_map_get_type),
(pango_x_face_get_type), (pango_x_family_get_type):
* pango/pangox.c (pango_x_font_get_type):
Add G_UNLIKELY() to type registration block in _get_type() functions.
svn path=/trunk/; revision=2364
Diffstat (limited to 'pango/pangox.c')
-rw-r--r-- | pango/pangox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangox.c b/pango/pangox.c index 59c0649e..6ca0e578 100644 --- a/pango/pangox.c +++ b/pango/pangox.c @@ -227,7 +227,7 @@ pango_x_font_get_type (void) { static GType object_type = 0; - if (!object_type) + if (G_UNLIKELY (!object_type)) { const GTypeInfo object_info = { |