[anjuta] Create new Vala projects with gtk+-3.0



commit 9c73a58598efea06151b8f5a486a2ef9b62dd7dd
Author: P. F. Chimento <philip chimento gmail com>
Date:   Mon Mar 21 23:51:42 2011 +0100

    Create new Vala projects with gtk+-3.0
    
    New Vala projects were created by default with "gtk+-2.0 >= 2.16" in
    their PKG_CHECK_MODULES call, while the other languages had already
    moved to GTK 3. Specifically, this broke the Vala Guitar Tuner developer
    demo.

 plugins/project-wizard/templates/vala-gtk.wiz.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/project-wizard/templates/vala-gtk.wiz.in b/plugins/project-wizard/templates/vala-gtk.wiz.in
index 1042ca1..145d66d 100644
--- a/plugins/project-wizard/templates/vala-gtk.wiz.in
+++ b/plugins/project-wizard/templates/vala-gtk.wiz.in
@@ -33,7 +33,7 @@
 		<property type="hidden" name="NameCLower" default='[+(string->c-name! (string-substitute (string-downcase (get "Name")) " " "_"))+]'/>
 		<property type="hidden" name="NameHLower" default='[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+]'/>
 		<property type="hidden" name="HavePackage" default="1"/>
-		<property type="hidden" name="PackageModule1" default="gtk+-2.0 >= 2.16"/>
+		<property type="hidden" name="PackageModule1" default="gtk+-3.0"/>
 		<property type="boolean" name="HaveSharedlib" _label="Add shared library support:" _description="Adds support for building shared libraries in your project" default="1"/>
 		<property type="boolean" name="HavePackageExtra" _label="Configure external packages:" _description="Use pkg-config to add library support from other packages" default="0"/>
 		<property type="boolean" name="HaveBuilderUI" _label="Use GtkBuilder for user interface:" _description="Use GtkBuilder to create the user-interface in a graphical way and load it from xml files at runtime" default="1"/>



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