summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@src.gnome.org>2009-01-27 12:23:31 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2009-01-27 12:23:31 +0000
commit603e6894928f43ab0fcde1c982372849c3b3dbe5 (patch)
tree6f39f8126f99f37e2fd02f777a6af0a97b4bd960 /pango
parent2dcbf7e1775b3bccd56eed84ec20f4f91bbe5a55 (diff)
downloadpango-603e6894928f43ab0fcde1c982372849c3b3dbe5.tar.gz
Minor.
svn path=/trunk/; revision=2799
Diffstat (limited to 'pango')
-rw-r--r--pango/pangofc-fontmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangofc-fontmap.c b/pango/pangofc-fontmap.c
index d31a826d..9d92464e 100644
--- a/pango/pangofc-fontmap.c
+++ b/pango/pangofc-fontmap.c
@@ -951,7 +951,7 @@ uniquify_pattern (PangoFcFontMap *fcfontmap,
PangoFcFontMapPrivate *priv = fcfontmap->priv;
FcPattern *old_pattern;
- if (!priv->pattern_hash)
+ if (G_UNLIKELY (!priv->pattern_hash))
priv->pattern_hash =
g_hash_table_new_full ((GHashFunc)pango_fc_pattern_hash,
(GEqualFunc)pango_fc_pattern_equal,