summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-01-07 21:04:26 -0500
committerMatthias Clasen <mclasen@redhat.com>2013-01-07 21:07:01 -0500
commitc89e5e952fe1a3349af43e5e608ac9eef87811cf (patch)
treef06e2fd7b2a0b6db9032423b8904619683e3e5ae
parent18dd09645a2dc27a79264dbefaddac4689a9ab87 (diff)
downloadpango-c89e5e952fe1a3349af43e5e608ac9eef87811cf.tar.gz
Ignore deprecations in test-ot-tags
This entire test is about the deprecated OpenType API. Not much we can do except ignoring deprecations.
-rw-r--r--tests/test-ot-tags.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test-ot-tags.c b/tests/test-ot-tags.c
index 99c9a84f..48bb47b2 100644
--- a/tests/test-ot-tags.c
+++ b/tests/test-ot-tags.c
@@ -35,6 +35,8 @@
} \
} G_STMT_END
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
static void
test_script_tags (void)
{
@@ -94,7 +96,9 @@ test_language_tags (void)
{
PangoLanguage *l = pango_language_from_string (languages[i]);
PangoOTTag tag = pango_ot_tag_from_language (l);
+#if 0
PangoLanguage *m = pango_ot_tag_to_language (tag);
+#endif
if (i == 0)
{
@@ -127,3 +131,5 @@ main (int argc, char **argv)
return 0;
}
+
+G_GNUC_END_IGNORE_DEPRECATIONS