From 8ccf2a722a47c575efff7826160a9f3c2e856ca1 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 1 Aug 2019 23:42:21 -0400 Subject: [PATCH] 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,