summaryrefslogtreecommitdiff
path: root/pango/pangofc-fontmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pangofc-fontmap.c')
-rw-r--r--pango/pangofc-fontmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pangofc-fontmap.c b/pango/pangofc-fontmap.c
index e64d23eb..267dc483 100644
--- a/pango/pangofc-fontmap.c
+++ b/pango/pangofc-fontmap.c
@@ -1827,7 +1827,7 @@ pango_fc_face_get_type (void)
{
static GType object_type = 0;
- if (!object_type)
+ if (G_UNLIKELY (!object_type))
{
const GTypeInfo object_info =
{
@@ -2030,7 +2030,7 @@ pango_fc_family_get_type (void)
{
static GType object_type = 0;
- if (!object_type)
+ if (G_UNLIKELY (!object_type))
{
const GTypeInfo object_info =
{