[gnome-builder/wip/chergert/tasks] compile-commands: avoid unnecessary thread usage
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/tasks] compile-commands: avoid unnecessary thread usage
- Date: Tue, 13 Mar 2018 09:50:19 +0000 (UTC)
commit 4355da6b7760747565e94bbfac05e85d1b47f071
Author: Christian Hergert <chergert redhat com>
Date: Tue Mar 13 02:49:57 2018 -0700
compile-commands: avoid unnecessary thread usage
src/libide/buildsystem/ide-compile-commands.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libide/buildsystem/ide-compile-commands.c b/src/libide/buildsystem/ide-compile-commands.c
index 408e084c9..5ed957526 100644
--- a/src/libide/buildsystem/ide-compile-commands.c
+++ b/src/libide/buildsystem/ide-compile-commands.c
@@ -318,7 +318,7 @@ ide_compile_commands_load (IdeCompileCommands *self,
g_task_set_priority (task, G_PRIORITY_LOW);
g_task_set_source_tag (task, ide_compile_commands_load);
g_task_set_task_data (task, g_object_ref (file), g_object_unref);
- g_task_run_in_thread_sync (task, ide_compile_commands_load_worker);
+ ide_compile_commands_load_worker (task, self, file, cancellable);
ret = g_task_propagate_boolean (task, error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]