mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
testsuite: Add deprecation guards for ATK deprecations
This commit is contained in:
parent
45d896a6b5
commit
3fe70c010e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user