diff options
author | Federico Mena Quintero <federico@gnome.org> | 2021-12-13 16:41:55 -0600 |
---|---|---|
committer | Federico Mena Quintero <federico@gnome.org> | 2021-12-13 16:42:41 -0600 |
commit | d8f609035b2ed9ffd3443cfcb4b475f66cce3f1d (patch) | |
tree | a7644e570ed5832774d918bdf2fa76a914b46f39 /bus | |
parent | fda17a03a73da418c64f336ac921d523a707bb29 (diff) | |
download | at-spi2-core-d8f609035b2ed9ffd3443cfcb4b475f66cce3f1d.tar.gz |
Remove unused function setup_bus_child_daemon()
The switch to G_SPAWN_LEAVE_DESCRIPTORS_OPEN makes
g_spawn_async_with_pipes_and_fds() use the code path for
posix_spawn(), which doesn't use a child setup func.
I think setting the bus to exit when at-spi-bus-launcher exits is a
leftover from when the latter was rewritten in 2011, and we didn't
have reliable ways of ending session daemons.
Diffstat (limited to 'bus')
-rw-r--r-- | bus/at-spi-bus-launcher.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/bus/at-spi-bus-launcher.c b/bus/at-spi-bus-launcher.c index 4a02c5a2..145f0aef 100644 --- a/bus/at-spi-bus-launcher.c +++ b/bus/at-spi-bus-launcher.c @@ -323,14 +323,6 @@ set_bus_to_exit_if_this_process_dies (void) } #ifdef DBUS_DAEMON -static void -setup_bus_child_daemon (gpointer data) -{ - A11yBusLauncher *app = data; - - set_bus_to_exit_if_this_process_dies (); -} - static gboolean ensure_a11y_bus_daemon (A11yBusLauncher *app, char *config_path) { |