Ignore deprecations in test-ot-tags
authorMatthias Clasen <mclasen@redhat.com>
Tue, 8 Jan 2013 02:04:26 +0000 (21:04 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 8 Jan 2013 02:07:01 +0000 (21:07 -0500)
This entire test is about the deprecated OpenType API.
Not much we can do except ignoring deprecations.

tests/test-ot-tags.c

index 99c9a84..48bb47b 100644 (file)
@@ -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