mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-13 04:10:13 +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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
|
||||||
switch (expected[i].gravity)
|
switch (expected[i].gravity)
|
||||||
{
|
{
|
||||||
case -1:
|
case -1:
|
||||||
@ -852,6 +853,7 @@ test_words (GtkWidget *widget)
|
|||||||
g_assert_not_reached ();
|
g_assert_not_reached ();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
G_GNUC_END_IGNORE_DEPRECATIONS;
|
||||||
|
|
||||||
g_assert_cmpstr (word, ==, expected[i].word);
|
g_assert_cmpstr (word, ==, expected[i].word);
|
||||||
g_assert_cmpint (start, ==, expected[i].start);
|
g_assert_cmpint (start, ==, expected[i].start);
|
||||||
|
Loading…
Reference in New Issue
Block a user