summaryrefslogtreecommitdiff
path: root/pango/pango-utils.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2018-12-11 18:52:01 -0500
committerMatthias Clasen <mclasen@redhat.com>2018-12-11 18:52:44 -0500
commit9fc788a6a6bde68cfeef7dbc4d55969638d82a4a (patch)
tree7d39c48cc260c09edb406d50c7280b52cbbdb707 /pango/pango-utils.c
parentc8793f5df3b63f76c37b04384eabd8c10e44cedc (diff)
downloadpango-9fc788a6a6bde68cfeef7dbc4d55969638d82a4a.tar.gz
Fix fallout from bidi deprecation
PangoDirection is still used in some public apis, so just keep it around. Closes: #339
Diffstat (limited to 'pango/pango-utils.c')
-rw-r--r--pango/pango-utils.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pango/pango-utils.c b/pango/pango-utils.c
index 313471fe..04bbd7cf 100644
--- a/pango/pango-utils.c
+++ b/pango/pango-utils.c
@@ -793,6 +793,9 @@ pango_lookup_aliases (const char *fontname,
*n_families = 0;
}
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+
/**
* pango_find_base_dir:
* @text: the text to process
@@ -831,6 +834,8 @@ pango_find_base_dir (const gchar *text,
return dir;
}
+#pragma GCC diagnostic pop
+
/**
* pango_is_zero_width:
* @ch: a Unicode character