Register the cache on the main D-Bus connection
authorMike Gorse <mgorse@suse.com>
Thu, 20 Sep 2012 18:28:00 +0000 (13:28 -0500)
committerMike Gorse <mgorse@suse.com>
Thu, 20 Sep 2012 18:28:00 +0000 (13:28 -0500)
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.

atk-adaptor/bridge.c

index 74f0431..2df9889 100644 (file)
@@ -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);
     }
 }