summaryrefslogtreecommitdiff
path: root/pango/pango-bidi-type.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-bidi-type.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-bidi-type.c')
-rw-r--r--pango/pango-bidi-type.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pango/pango-bidi-type.c b/pango/pango-bidi-type.c
index a49e06d9..3e46b66c 100644
--- a/pango/pango-bidi-type.c
+++ b/pango/pango-bidi-type.c
@@ -43,6 +43,8 @@
#include <fribidi.h>
+#undef PANGO_DISABLE_DEPRECATED
+
#include "pango-bidi-type.h"
#include "pango-utils.h"
@@ -305,6 +307,7 @@ pango_unichar_direction (gunichar ch)
return PANGO_DIRECTION_LTR;
}
+
/**
* pango_get_mirror_char:
* @ch: a Unicode character