[latexila] Add --target-glib=2.36 option to valac
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila] Add --target-glib=2.36 option to valac
- Date: Mon, 6 May 2013 16:44:56 +0000 (UTC)
commit ef18446a30ab328b265ac1d23a9370aae88cb088
Author: Sébastien Wilmet <swilmet gnome org>
Date: Mon May 6 18:40:07 2013 +0200
Add --target-glib=2.36 option to valac
To avoid a warning about the deprecated function g_type_init() during
the compilation of the C code.
configure.ac | 3 ++-
src/Makefile.am | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 810b172..ebd1df4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,7 +24,8 @@ LT_PREREQ([2.2])
LT_INIT
# Required dependencies versions
-GLIB_REQUIRED_VERSION="2.32"
+# Update also the --target-glib option in src/Makefile.am.
+GLIB_REQUIRED_VERSION="2.36"
GTK_REQUIRED_VERSION="3.6.0"
GTKSOURCEVIEW_REQUIRED_VERSION="3.8.0"
VALA_REQUIRED_VERSION="0.20.0"
diff --git a/src/Makefile.am b/src/Makefile.am
index 36ff059..35cca0c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -6,7 +6,8 @@ VALAFLAGS = \
--pkg gtk+-3.0 \
--pkg gtksourceview-3.0 \
--pkg gee-1.0 \
- --pkg posix
+ --pkg posix \
+ --target-glib=2.36
# The valac command is always executed in the sources directory, not the build
# directory. If $(top_srcdir) is used, it will be relative to the build directory.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]