diff options
author | Mike Gorse <mgorse@suse.com> | 2012-09-20 13:28:00 -0500 |
---|---|---|
committer | Mike Gorse <mgorse@suse.com> | 2012-09-20 13:28:00 -0500 |
commit | d7489952dbe62aa4b7b6eaa2c993e2154a576783 (patch) | |
tree | 4aaee26b0b9fefba5068b2210239ddeb7ab5b890 | |
parent | b3210d247daa9480d3037bac4d7cc1963883abea (diff) | |
download | at-spi2-atk-d7489952dbe62aa4b7b6eaa2c993e2154a576783.tar.gz |
Register the cache on the main D-Bus connection
In atk_bridge_adaptor_cleanup, droute will deregister the cache object
path from the main DBusConnection, causing libdbus to complain since it
was not registered. Fixes a regression introduced when deferring
registration of the cache.
-rw-r--r-- | atk-adaptor/bridge.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/atk-adaptor/bridge.c b/atk-adaptor/bridge.c index 74f0431..2df9889 100644 --- a/atk-adaptor/bridge.c +++ b/atk-adaptor/bridge.c @@ -781,6 +781,8 @@ spi_atk_activate () return; } spi_initialize_cache (treepath); + if (spi_global_app_data->bus) + droute_path_register (treepath, spi_global_app_data->bus); } } |