[vte] build: Avoid a method deprecated in Pango 1.44



commit e64eff10c34601e22ea626f11af38dfd36b634e2
Author: Egmont Koblinger <egmont gmail com>
Date:   Fri Oct 4 09:29:26 2019 +0200

    build: Avoid a method deprecated in Pango 1.44
    
    https://gitlab.gnome.org/GNOME/vte/issues/180

 src/vtedraw.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/vtedraw.cc b/src/vtedraw.cc
index a1e56c94..8f9c598c 100644
--- a/src/vtedraw.cc
+++ b/src/vtedraw.cc
@@ -343,7 +343,7 @@ font_info_cache_ascii (struct font_info *info)
                 * characters as common characters get their font from their neighbors
                 * and we don't want to force Latin on them. */
                if (!latin_uses_default_language &&
-                   pango_script_for_unichar (c) <= PANGO_SCRIPT_INHERITED)
+                    g_unichar_get_script (c) <= G_UNICODE_SCRIPT_INHERITED)
                        continue;
 
                /* Only cache simple glyphs */


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