[gnome-builder] Autools-templates: C - Enable VAPI only for C projects



commit 1f3f9e1fa01a6d47885f9d5ab32b03976d630216
Author: Daniel Espinosa <esodan gmail com>
Date:   Mon Jul 11 17:00:38 2016 -0500

    Autools-templates: C - Enable VAPI only for C projects

 .../autotools_templates/__init__.py                |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/autotools-templates/autotools_templates/__init__.py 
b/plugins/autotools-templates/autotools_templates/__init__.py
index fdde237..7a8186d 100644
--- a/plugins/autotools-templates/autotools_templates/__init__.py
+++ b/plugins/autotools-templates/autotools_templates/__init__.py
@@ -148,7 +148,7 @@ class AutotoolsTemplate(Ide.TemplateBase, Ide.ProjectTemplate):
         scope.get('enable_i18n').assign_boolean(True)
         scope.get('enable_gtk_doc').assign_boolean(False)
         scope.get('enable_gobject_introspection').assign_boolean(True)
-        scope.get('enable_vapi').assign_boolean(True)
+        scope.get('enable_vapi').assign_boolean(self.language == 'c')
         scope.get('enable_vala').assign_boolean(self.language == 'vala')
         scope.get('translation_copyright').assign_string('Translation copyright holder')
         scope.get('language').assign_string(self.language)


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