[pango] Ignore deprecations in test-ot-tags



commit c89e5e952fe1a3349af43e5e608ac9eef87811cf
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Jan 7 21:04:26 2013 -0500

    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 files changed, 6 insertions(+), 0 deletions(-)
---
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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]