From 74968d2ced63e0ed12890a12ec41255c24bcc2a0 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Wed, 7 Sep 2022 20:51:35 -0500 Subject: Make get_root_obj() static All the tests use the TestAppFixture instead. --- tests/at-spi2-atk/atk_test_util.c | 2 +- tests/at-spi2-atk/atk_test_util.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/at-spi2-atk/atk_test_util.c b/tests/at-spi2-atk/atk_test_util.c index 73c2f762..3f63ba06 100644 --- a/tests/at-spi2-atk/atk_test_util.c +++ b/tests/at-spi2-atk/atk_test_util.c @@ -88,7 +88,7 @@ try_get_root_obj (AtspiAccessible *obj) return NULL; } -AtspiAccessible * +static AtspiAccessible * get_root_obj (const char *file_name) { int tries = 0; diff --git a/tests/at-spi2-atk/atk_test_util.h b/tests/at-spi2-atk/atk_test_util.h index 2af8f8b1..94859856 100644 --- a/tests/at-spi2-atk/atk_test_util.h +++ b/tests/at-spi2-atk/atk_test_util.h @@ -33,8 +33,8 @@ #include #include -AtspiAccessible *get_root_obj (const char *file_name); -void fixture_teardown (gpointer fixture, gconstpointer user_data); +void fixture_setup (TestAppFixture *fixture, gconstpointer user_data); +void fixture_teardown (TestAppFixture *fixture, gconstpointer user_data); void clean_exit_on_fail (); #endif /* _ATK_TEST_UTIL_H */ -- cgit v1.2.1