summaryrefslogtreecommitdiff
path: root/pango/pango-context.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pango-context.c')
-rw-r--r--pango/pango-context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pango/pango-context.c b/pango/pango-context.c
index 0344e334..f91d0fe6 100644
--- a/pango/pango-context.c
+++ b/pango/pango-context.c
@@ -1433,9 +1433,11 @@ itemize_state_process_run (ItemizeState *state)
if (!g_object_get_data (G_OBJECT (fontmap), script_name))
{
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
g_warning ("failed to choose a font, expect ugly output. engine-type='%s', script='%s'",
pango_font_map_get_shape_engine_type (fontmap),
script_name);
+G_GNUC_END_IGNORE_DEPRECATIONS
g_object_set_data_full (G_OBJECT (fontmap), script_name,
GINT_TO_POINTER (1), NULL);