[vala] Require and target GLib >= 2.18



commit e54cfc3767b4b5641f22f3e1cd1652290922fddf
Author: JÃrg Billeter <j bitron ch>
Date:   Mon Jul 16 20:55:50 2012 +0200

    Require and target GLib >= 2.18
    
    This allows valac to use gintptr and guintptr. The next stable release
    of vala will happen four years after the release of GLib 2.18.0.

 compiler/valacompiler.vala |    2 +-
 configure.ac               |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/compiler/valacompiler.vala b/compiler/valacompiler.vala
index df51ad6..b0722eb 100644
--- a/compiler/valacompiler.vala
+++ b/compiler/valacompiler.vala
@@ -244,7 +244,7 @@ class Vala.Compiler {
 			}
 		} else if (context.profile == Profile.GOBJECT) {
 			int glib_major = 2;
-			int glib_minor = 16;
+			int glib_minor = 18;
 			if (target_glib != null && target_glib.scanf ("%d.%d", out glib_major, out glib_minor) != 2) {
 				Report.error (null, "Invalid format for --target-glib");
 			}
diff --git a/configure.ac b/configure.ac
index dbb040d..553747b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -81,7 +81,7 @@ AC_SUBST(vapigen_decl)
 AC_SUBST(gen_introspect_decl)
 AC_SUBST(vala_gen_introspect_decl)
 
-GLIB_REQUIRED=2.16.0
+GLIB_REQUIRED=2.18.0
 
 PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED)
 



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