[gtk/wip/fontchooser-harfbuzz: 81/81] gsk: Stop using deprecated pango api



commit 431c6e5077809e62b3b6d65d33fffcefb082c952
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Aug 1 23:42:21 2019 -0400

    gsk: Stop using deprecated pango api
    
    Shape engines are not used anymore.

 gsk/gskrendernodeparser.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gsk/gskrendernodeparser.c b/gsk/gskrendernodeparser.c
index ee370d1112..328a2448fc 100644
--- a/gsk/gskrendernodeparser.c
+++ b/gsk/gskrendernodeparser.c
@@ -644,7 +644,7 @@ create_ascii_glyphs (PangoFont *font)
   PangoLanguage *language = pango_language_from_string ("en_US"); /* just pick one */
   PangoCoverage *coverage;
   PangoAnalysis not_a_hack = {
-    .shape_engine = pango_font_find_shaper (font, language, MIN_ASCII_GLYPH), /* never changes */
+    .shape_engine = NULL, /* unused */
     .lang_engine = NULL, /* unused by pango_shape() */
     .font = font,
     .level = 0,


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