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



commit e44c3993b42feb4f7e5fa0a265d828d0640f88f6
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 f12d4ef..0765029 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]