summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2016-03-23 15:15:57 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2016-11-19 12:34:31 +0100
commit7b9f477f75e9638fe422013bb357a396a52d7a69 (patch)
treec8e6d9d48afb3f30e09d05e2a8f475e2a56f882f
parent14ca2e09f9021e681947fa3f1fb5c1a6974059ae (diff)
downloadvala-wip/gtask.tar.gz
ONLY FOR TESTING - Require and target glib >= 2.36wip/gtask
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
-rw-r--r--compiler/valacompiler.vala2
-rw-r--r--configure.ac2
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler/valacompiler.vala b/compiler/valacompiler.vala
index 38564fc93..4e6c98783 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 98a13d74f..010aa904f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -81,7 +81,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)