[vala/staging: 4/4] ONLY FOR TESTING - Require and target glib >= 2.36



commit 14bfb357c231f37470239a3dca84897c55dfafbd
Author: Carlos Garnacho <carlosg gnome org>
Date:   Wed Mar 23 15:15:57 2016 +0100

    ONLY FOR TESTING - Require and target glib >= 2.36
    
    This enables the use of GTask by default, and gets rid of plenty of
    deprecation warnings.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=763345

 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 38564fc..4e6c987 100644
--- a/compiler/valacompiler.vala
+++ b/compiler/valacompiler.vala
@@ -272,7 +272,7 @@ class Vala.Compiler {
                }
 
                int glib_major = 2;
-               int glib_minor = 32;
+               int glib_minor = 36;
                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 540d4a2..8ad2727 100644
--- a/configure.ac
+++ b/configure.ac
@@ -78,7 +78,7 @@ AC_SUBST(COVERAGE_VALAFLAGS)
 AC_SUBST(COVERAGE_CFLAGS)
 AC_SUBST(COVERAGE_LIBS)
 
-GLIB_REQUIRED=2.32.0
+GLIB_REQUIRED=2.36.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]