[gnome-builder] ctags: lower ctags index priority
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] ctags: lower ctags index priority
- Date: Sun, 28 Jan 2018 22:42:16 +0000 (UTC)
commit 95f03d8522418467732c2668106754ce3496519d
Author: Christian Hergert <chergert redhat com>
Date: Sun Jan 28 14:12:35 2018 -0800
ctags: lower ctags index priority
Avoid anything that can stall the UI loop, so keep things extra low.
src/plugins/ctags/ide-ctags-service.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/ctags/ide-ctags-service.c b/src/plugins/ctags/ide-ctags-service.c
index 17d81322a..9633a4b9f 100644
--- a/src/plugins/ctags/ide-ctags-service.c
+++ b/src/plugins/ctags/ide-ctags-service.c
@@ -285,7 +285,7 @@ ide_ctags_service_load_tags (IdeCtagsService *self,
pair = g_slice_alloc0 (sizeof *pair);
pair->self = g_object_ref (self);
pair->file = g_object_ref (file);
- g_timeout_add (0, do_load, pair);
+ g_idle_add_full (G_PRIORITY_LOW + 100, do_load, pair, NULL);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]