[pango/wip-bitmatrix: 1/5] Remove leftover debug code




commit da759b1416b8085f89b6f2b84a66cc6988387ac0
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Aug 22 21:17:58 2020 -0400

    Remove leftover debug code
    
    This #if snuck in as part of efa66e7b634050ef3.
    No need to keep it around.

 pango/pangofc-fontmap.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/pango/pangofc-fontmap.c b/pango/pangofc-fontmap.c
index f9c72a36..64a8cd73 100644
--- a/pango/pangofc-fontmap.c
+++ b/pango/pangofc-fontmap.c
@@ -2135,14 +2135,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);
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]