testsuite: Add deprecation guards for ATK deprecations

This commit is contained in:
Benjamin Otte 2013-09-16 15:40:54 +02:00
parent 45d896a6b5
commit 3fe70c010e

View File

@ -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);