[gtk+] testsuite: Add deprecation guards for ATK deprecations



commit 3fe70c010ebd94864eaec095d078d19b33635ab0
Author: Benjamin Otte <otte redhat com>
Date:   Mon Sep 16 15:40:54 2013 +0200

    testsuite: Add deprecation guards for ATK deprecations

 testsuite/a11y/text.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/testsuite/a11y/text.c b/testsuite/a11y/text.c
index c18c823..93c5853 100644
--- a/testsuite/a11y/text.c
+++ b/testsuite/a11y/text.c
@@ -828,6 +828,7 @@ test_words (GtkWidget *widget)
             continue;
         }
 
+      G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
       switch (expected[i].gravity)
         {
           case -1:
@@ -852,6 +853,7 @@ test_words (GtkWidget *widget)
             g_assert_not_reached ();
             break;
         }
+      G_GNUC_END_IGNORE_DEPRECATIONS;
 
       g_assert_cmpstr (word, ==, expected[i].word);
       g_assert_cmpint (start, ==, expected[i].start);


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