From 5c8b4ddda481869cf92750cb0e9b8d2888ddca65 Mon Sep 17 00:00:00 2001 From: Mike Gorse Date: Wed, 11 Jun 2008 18:11:14 -0400 Subject: [PATCH] Call dbus_bus_register --- atk-adaptor/bridge.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/atk-adaptor/bridge.c b/atk-adaptor/bridge.c index ba6b80b..1374b99 100644 --- a/atk-adaptor/bridge.c +++ b/atk-adaptor/bridge.c @@ -195,10 +195,8 @@ spi_app_init (AtkObject *root) return NULL; } //dbus_connection_set_exit_on_disconnect(ad->droute.bus, FALSE); - //dbus_bus_register(ad->droute.bus, &error); + dbus_bus_register(ad->droute.bus, &error); spi_dbus_initialize (&ad->droute); - /* Below line for testing -- it should be removed once at-spi-registryd is working */ - if (dbus_bus_request_name(ad->droute.bus, "test.atspi.tree", 0, &error)) printf("Got test name.\n"); spi_register_tree_object(ad->droute.bus, &ad->droute, "/org/freedesktop/atspi/tree"); if (!dbus_connection_try_register_fallback (ad->droute.bus, "/org/freedesktop/atspi/accessible", &droute_vtable, &ad->droute, &error)) { -- 2.7.4