summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2022-09-07 20:51:35 -0500
committerFederico Mena Quintero <federico@gnome.org>2023-05-09 10:03:10 -0600
commit74968d2ced63e0ed12890a12ec41255c24bcc2a0 (patch)
tree846e130a95e066e8972c494e3e7c78753fa671b9
parentf9270d7504b5ac0488bb381933a516b2e74e097f (diff)
downloadat-spi2-core-74968d2ced63e0ed12890a12ec41255c24bcc2a0.tar.gz
Make get_root_obj() static
All the tests use the TestAppFixture instead.
-rw-r--r--tests/at-spi2-atk/atk_test_util.c2
-rw-r--r--tests/at-spi2-atk/atk_test_util.h4
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 <sys/wait.h>
#include <unistd.h>
-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 */