summaryrefslogtreecommitdiff
path: root/pango/pangofc-fontmap.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-08-22 21:17:58 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-08-23 00:26:23 -0400
commita65f80dc224ae198f54ad6bb22ef462a8a465131 (patch)
tree42288e29529017370763ec6ee905574b2efeaf4a /pango/pangofc-fontmap.c
parentcb6afb5b7457d1a4d8226f5e80f3a5b103eca1ec (diff)
downloadpango-a65f80dc224ae198f54ad6bb22ef462a8a465131.tar.gz
Remove leftover debug code
This #if snuck in as part of efa66e7b634050ef3. No need to keep it around.
Diffstat (limited to 'pango/pangofc-fontmap.c')
-rw-r--r--pango/pangofc-fontmap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/pango/pangofc-fontmap.c b/pango/pangofc-fontmap.c
index 4c2aa094..eed0960a 100644
--- a/pango/pangofc-fontmap.c
+++ b/pango/pangofc-fontmap.c
@@ -1920,14 +1920,12 @@ pango_fc_fontset_cache (PangoFcFontset *fontset,
{
/* Add to cache initially
*/
-#if 1
if (cache->length == FONTSET_CACHE_SIZE)
{
PangoFcFontset *tmp_fontset = g_queue_pop_tail (cache);
tmp_fontset->cache_link = NULL;
g_hash_table_remove (priv->fontset_hash, tmp_fontset->key);
}
-#endif
fontset->cache_link = g_list_prepend (NULL, fontset);
}