[gnome-builder] directory: adjust directory build system priority



commit 199fab58d9d1e7a49fc3ab864e72ea99062c158c
Author: Christian Hergert <chergert redhat com>
Date:   Wed Aug 17 15:36:08 2016 +0200

    directory: adjust directory build system priority
    
    We want this to be the final fallback.

 libide/directory/ide-directory-build-system.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/libide/directory/ide-directory-build-system.c b/libide/directory/ide-directory-build-system.c
index 2a581b1..432ceca 100644
--- a/libide/directory/ide-directory-build-system.c
+++ b/libide/directory/ide-directory-build-system.c
@@ -238,9 +238,16 @@ ide_directory_build_system_get_build_flags_finish (IdeBuildSystem  *build_system
   return g_task_propagate_pointer (task, error);
 }
 
+static gint
+ide_directory_build_system_get_priority (IdeBuildSystem *build_system)
+{
+  return 1000000;
+}
+
 static void
 build_system_init (IdeBuildSystemInterface *iface)
 {
   iface->get_build_flags_async = ide_directory_build_system_get_build_flags_async;
   iface->get_build_flags_finish = ide_directory_build_system_get_build_flags_finish;
+  iface->get_priority = ide_directory_build_system_get_priority;
 }


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