From c89e5e952fe1a3349af43e5e608ac9eef87811cf Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 7 Jan 2013 21:04:26 -0500 Subject: [PATCH] Ignore deprecations in test-ot-tags This entire test is about the deprecated OpenType API. Not much we can do except ignoring deprecations. --- tests/test-ot-tags.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/test-ot-tags.c b/tests/test-ot-tags.c index 99c9a84..48bb47b 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 -- 2.7.4