From: Mike Gorse Date: Thu, 20 Sep 2012 18:28:00 +0000 (-0500) Subject: Register the cache on the main D-Bus connection X-Git-Tag: AT_SPI2_ATK_2_6_0~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d7489952dbe62aa4b7b6eaa2c993e2154a576783;p=platform%2Fupstream%2Fat-spi2-atk.git 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. --- 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); } }