diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-05-09 10:58:31 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-05-09 10:58:31 (GMT) |
commit | 286878b36b5cf7a3f44251f62c94a57f0f29d3cf (patch) | |
tree | a38a8a349ae55797f9fe2a1c2e3fb20b37855136 /src/main.c | |
parent | 3014f4f91f660dd7eaf80c5634c8ffa8fe3e95ec (diff) |
Handled the global work queue groups in a better way.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -39,6 +39,7 @@ #include "core/global.h" #include "core/logs.h" #include "core/params.h" +#include "core/queue.h" #include "glibext/delayed.h" #include "gui/editor.h" #include "gui/core/core.h" @@ -343,7 +344,7 @@ int main(int argc, char **argv) result = open_binaries(argv + optind, argc - optind); if (batch_mode) - g_work_queue_wait_for_all_completions(get_work_queue()); + wait_for_all_global_works(); else gtk_main(); |