summaryrefslogtreecommitdiff
path: root/utils/viewer-pangoxft.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-09-18 20:06:14 +0000
committerMatthias Clasen <mclasen@redhat.com>2020-09-18 20:06:14 +0000
commit218aad0fc1d9823b2b8ea4c91da534982f6ddb0c (patch)
tree8ccf747553a6114ec47b78981ec1ccc9ca7d2dda /utils/viewer-pangoxft.c
parent3d1240ae397d1637be6887815221bc17112ad4ce (diff)
parente8181138ab5b4403bee552e768d53a0674d881dd (diff)
downloadpango-218aad0fc1d9823b2b8ea4c91da534982f6ddb0c.tar.gz
Merge branch 'matthiasc/for-master' into 'master'
Matthiasc/for master See merge request GNOME/pango!243
Diffstat (limited to 'utils/viewer-pangoxft.c')
-rw-r--r--utils/viewer-pangoxft.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/viewer-pangoxft.c b/utils/viewer-pangoxft.c
index 948cd90e..95a4545e 100644
--- a/utils/viewer-pangoxft.c
+++ b/utils/viewer-pangoxft.c
@@ -51,8 +51,8 @@ pangoxft_view_create (const PangoViewer *klass)
XftInit (NULL);
- pango_xft_set_default_substitute (instance->display, instance->screen,
- default_substitute, NULL, NULL);
+ pango_fc_font_map_set_default_substitute (PANGO_FC_FONT_MAP (pango_xft_get_font_map (instance->display, instance->screen)),
+ default_substitute, NULL, NULL);
return instance;
}