diff options
author | Mike Gorse <mgorse@novell.com> | 2011-03-04 13:48:21 -0600 |
---|---|---|
committer | Mike Gorse <mgorse@novell.com> | 2011-03-04 15:08:42 -0600 |
commit | df5695a948da0886dd506430959d4de88a940eb9 (patch) | |
tree | a61033b398193b5bbe2ad4ee66cd993cf3d15642 /atk-adaptor | |
parent | 6752a46f62f7d367f983f0132c36065f500f314f (diff) | |
download | at-spi2-atk-df5695a948da0886dd506430959d4de88a940eb9.tar.gz |
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.
Diffstat (limited to 'atk-adaptor')
-rw-r--r-- | atk-adaptor/bridge.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } } |