summaryrefslogtreecommitdiff
path: root/atk
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2022-09-29 14:40:49 -0500
committerFederico Mena Quintero <federico@gnome.org>2023-05-09 10:04:25 -0600
commit06027ba5226ae4f57f9786a65ec6c98469828b46 (patch)
tree48558abbe0de4a4ccc6907c445dd40f93aef72f2 /atk
parente2bb6b5593418f334ddf5d1e3404c434bedb403f (diff)
downloadat-spi2-core-06027ba5226ae4f57f9786a65ec6c98469828b46.tar.gz
Wait for the test-application startup using an atspi listener
This should be more robust than just waiting and sleeping. * test-application now claims a different DBus name for each run, to disambiguate. * atk_bridge_adaptor_cleanup() - release the dbus name if there was one
Diffstat (limited to 'atk')
-rw-r--r--atk/atkutil.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/atk/atkutil.c b/atk/atkutil.c
index db957c7a..cf5eb3b5 100644
--- a/atk/atkutil.c
+++ b/atk/atkutil.c
@@ -488,6 +488,7 @@ atk_get_root (void)
{
AtkUtilClass *klass = g_type_class_ref (ATK_TYPE_UTIL);
AtkObject *retval;
+
if (klass->get_root)
{
retval = klass->get_root ();