[gnome-builder] recent: lower miner task priority
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] recent: lower miner task priority
- Date: Sat, 25 Mar 2017 11:24:13 +0000 (UTC)
commit 0f481f634e32c78df7150bc92d28d48b2b936d04
Author: Christian Hergert <chergert redhat com>
Date: Sat Mar 25 04:23:49 2017 -0700
recent: lower miner task priority
libide/projects/ide-recent-projects.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libide/projects/ide-recent-projects.c b/libide/projects/ide-recent-projects.c
index e2bbc72..0e892e3 100644
--- a/libide/projects/ide-recent-projects.c
+++ b/libide/projects/ide-recent-projects.c
@@ -387,6 +387,8 @@ ide_recent_projects_discover_async (IdeRecentProjects *self,
g_return_if_fail (!cancellable || G_IS_CANCELLABLE (cancellable));
task = g_task_new (self, cancellable, callback, user_data);
+ g_task_set_source_tag (task, ide_recent_projects_discover_async);
+ g_task_set_priority (task, G_PRIORITY_LOW);
if (self->discovered)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]