]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Require and target GLib >= 2.18
authorJürg Billeter <j@bitron.ch>
Mon, 16 Jul 2012 18:55:50 +0000 (20:55 +0200)
committerJürg Billeter <j@bitron.ch>
Mon, 16 Jul 2012 18:55:50 +0000 (20:55 +0200)
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
configure.ac

index df51ad638d7322f8a7016da2add2b1cf3d2c7dea..b0722eb2e4522c4961a22db5be91aa460975757e 100644 (file)
@@ -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");
                        }
index dbb040d2b1ec2da9fc3edb317dcdd5cdae34ed67..553747b170a5372f073e788d6af4cf27e0afef05 100644 (file)
@@ -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)