From df5695a948da0886dd506430959d4de88a940eb9 Mon Sep 17 00:00:00 2001 From: Mike Gorse Date: Fri, 4 Mar 2011 13:48:21 -0600 Subject: [PATCH] Do not exit if the accessibility bus disconnects We should not exit if, for instance, the accessibility bus's daemon dies as a result of the session ending; we should let GNOME's logic kill the application in that case. Also prevents the application from crashing if atk-bridge sends bad data that causes the daemon to disconnect us. --- atk-adaptor/bridge.c | 1 + 1 file changed, 1 insertion(+) diff --git a/atk-adaptor/bridge.c b/atk-adaptor/bridge.c index 0cb1f92..8bad17c 100644 --- a/atk-adaptor/bridge.c +++ b/atk-adaptor/bridge.c @@ -165,6 +165,7 @@ spi_atk_bridge_get_bus (void) g_warning ("AT-SPI: Couldn't register with bus: %s\n", error.message); return NULL; } + dbus_connection_set_exit_on_disconnect (bus, FALSE); } } -- 2.7.4