diff options
author | Matthias Clasen <mclasen@redhat.com> | 2018-12-11 18:52:01 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2018-12-11 18:52:44 -0500 |
commit | 9fc788a6a6bde68cfeef7dbc4d55969638d82a4a (patch) | |
tree | 7d39c48cc260c09edb406d50c7280b52cbbdb707 /pango/pango-utils.c | |
parent | c8793f5df3b63f76c37b04384eabd8c10e44cedc (diff) | |
download | pango-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.c | 5 |
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 |