diff options
author | Mike Gorse <mgorse@alum.wpi.edu> | 2019-08-15 11:01:47 -0500 |
---|---|---|
committer | Mike Gorse <mgorse@alum.wpi.edu> | 2019-08-15 11:01:47 -0500 |
commit | 895abb449fa9c521098e8135defe4882a0595e9e (patch) | |
tree | 9666b45e3c7f9c1745468de6de78bfb057f9e081 /atk-adaptor/bridge.h | |
parent | f603c8e4d9f00a9c046fbf4e02458308e9720d22 (diff) | |
download | at-spi2-atk-895abb449fa9c521098e8135defe4882a0595e9e.tar.gz |
When switching the main context, move pending register_application call
Commit f603c8 broke java-atk-wrapper, since the default main loop context
isn't used there.
Fixes https://gitlab.gnome.org/GNOME/at-spi2-core/issues/16
Diffstat (limited to 'atk-adaptor/bridge.h')
-rw-r--r-- | atk-adaptor/bridge.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/atk-adaptor/bridge.h b/atk-adaptor/bridge.h index 64882e4..29518b0 100644 --- a/atk-adaptor/bridge.h +++ b/atk-adaptor/bridge.h @@ -73,6 +73,7 @@ gchar *app_bus_addr; GList *events; gboolean events_initialized; GHashTable *property_hash; + guint registration_pending; }; extern SpiBridge *spi_global_app_data; @@ -92,6 +93,8 @@ DRoutePropertyFunction _atk_bridge_find_property_func (const char *property, GType *type); GType _atk_bridge_type_from_iface (const char *iface); + +gboolean _atk_bridge_register_application (gpointer data); G_END_DECLS #endif /* BRIDGE_H */ |