[vala/wip/gtask] ONLY FOR TESTING - Require and target glib >= 2.36



commit 647ebda22b7607c26d652006cdad49ce430b7c64
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 ccf5b76..232503e 100644
--- a/compiler/valacompiler.vala
+++ b/compiler/valacompiler.vala
@@ -273,7 +273,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 744a26f..5cd1119 100644
--- a/configure.ac
+++ b/configure.ac
@@ -69,7 +69,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]