[gtk+] Use pango_fc_font_map_config_changed



commit 6f194564ff465af37f0317b4e05ec26a7d44c26b
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jul 31 00:50:47 2015 -0400

    Use pango_fc_font_map_config_changed
    
    Use pango_fc_font_map_confit_changed() instead of
    pango_fc_font_map_cache_clear().
    
    https://bugzilla.gnome.org/show_bug.cgi?id=748772

 gtk/gtksettings.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index 05a6b6d..1f75dff 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -3070,7 +3070,7 @@ settings_update_fontconfig (GtkSettings *settings)
       /* bug 547680 */
       if (PANGO_IS_FC_FONT_MAP (fontmap) && !FcConfigUptoDate (NULL))
         {
-          pango_fc_font_map_cache_clear (PANGO_FC_FONT_MAP (fontmap));
+          pango_fc_font_map_config_changed (PANGO_FC_FONT_MAP (fontmap));
           if (FcInitReinitialize ())
             update_needed = TRUE;
         }


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