diff options
author | Federico Mena Quintero <federico@gnome.org> | 2021-12-14 16:08:52 -0600 |
---|---|---|
committer | Federico Mena Quintero <federico@gnome.org> | 2021-12-14 16:08:52 -0600 |
commit | 1c195fcf02f840dbab9a08e03b3392d3bf76560b (patch) | |
tree | 5f932da5bb72dcca984a768876c617573807e1dd /bus | |
parent | 797c9767ee04301a97fe92e4a43d572bd43e2f30 (diff) | |
download | at-spi2-core-1c195fcf02f840dbab9a08e03b3392d3bf76560b.tar.gz |
at-spi-bus-launcher: allocate _global_app with g_new0, not g_slice_new0
The latter is more or less deprecated now that the system malloc is
actually good.
Diffstat (limited to 'bus')
-rw-r--r-- | bus/at-spi-bus-launcher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bus/at-spi-bus-launcher.c b/bus/at-spi-bus-launcher.c index 4d731492..b695fb68 100644 --- a/bus/at-spi-bus-launcher.c +++ b/bus/at-spi-bus-launcher.c @@ -928,7 +928,7 @@ main (int argc, gboolean screen_reader_set = FALSE; gint i; - _global_app = g_slice_new0 (A11yBusLauncher); + _global_app = g_new0 (A11yBusLauncher, 1); _global_app->loop = g_main_loop_new (NULL, FALSE); for (i = 1; i < argc; i++) |