[gnome-builder] autotools: add priority and source tag



commit e1cc84aaf50e00e4ff54f2afcec0211233154938
Author: Christian Hergert <chergert redhat com>
Date:   Mon Jun 19 17:25:00 2017 -0700

    autotools: add priority and source tag

 plugins/autotools/ide-autotools-build-system.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/autotools/ide-autotools-build-system.c b/plugins/autotools/ide-autotools-build-system.c
index 0b0c397..d74776b 100644
--- a/plugins/autotools/ide-autotools-build-system.c
+++ b/plugins/autotools/ide-autotools-build-system.c
@@ -845,6 +845,8 @@ ide_autotools_build_system_init_async (GAsyncInitable      *initable,
   g_return_if_fail (!cancellable || G_IS_CANCELLABLE (cancellable));
 
   task = g_task_new (initable, cancellable, callback, user_data);
+  g_task_set_source_tag (task, ide_autotools_build_system_init_async);
+  g_task_set_priority (task, G_PRIORITY_LOW);
   context = ide_object_get_context (IDE_OBJECT (system));
   project_file = ide_context_get_project_file (context);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]