diff options
author | Behdad Esfahbod <behdad@src.gnome.org> | 2006-05-22 03:21:11 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-05-22 03:21:11 +0000 |
commit | f2cfabef4eef9c7933f6153f913a955305483a31 (patch) | |
tree | e73dcdfa92208c322d33bb03f99b866e7d2a16d7 /pango/pangocairo-fontmap.c | |
parent | bd1ededd198c3d49367e6315dcfb2008e695f232 (diff) | |
download | pango-f2cfabef4eef9c7933f6153f913a955305483a31.tar.gz |
Minor.
Diffstat (limited to 'pango/pangocairo-fontmap.c')
-rw-r--r-- | pango/pangocairo-fontmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pangocairo-fontmap.c b/pango/pangocairo-fontmap.c index 5314aadf..28a5a961 100644 --- a/pango/pangocairo-fontmap.c +++ b/pango/pangocairo-fontmap.c @@ -229,12 +229,12 @@ get_context_info (PangoContext *context, static GQuark context_info_quark; PangoCairoContextInfo *info; - if (!context_info_quark) + if (G_UNLIKELY (!context_info_quark)) context_info_quark = g_quark_from_static_string ("pango-cairo-context-info"); info = g_object_get_qdata (G_OBJECT (context), context_info_quark); - if (!info && create) + if (G_UNLIKELY (!info) && create) { info = g_slice_new (PangoCairoContextInfo); info->dpi = -1.0; |