[gnome-tetravex] Require glib 2.36 to remove g_type_init deprecation warning



commit 542e293f6acc7e212da9f8d50c0f5cb2c10544e3
Author: Robert Ancell <robert ancell canonical com>
Date:   Tue Oct 15 10:47:56 2013 +1300

    Require glib 2.36 to remove g_type_init deprecation warning

 configure.ac    |    2 ++
 src/Makefile.am |    3 ++-
 2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 8cc4ec6..431cf0c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,9 +13,11 @@ dnl ###########################################################################
 dnl Dependencies
 dnl ###########################################################################
 
+GLIB_REQUIRED=2.36.0
 GTK_REQUIRED=3.10.0
 
 PKG_CHECK_MODULES(GNOME_TETRAVEX, [
+  glib-2.0 >= $GLIB_REQUIRED
   gtk+-3.0 >= $GTK_REQUIRED
 ])
 
diff --git a/src/Makefile.am b/src/Makefile.am
index 88c1480..e4b591e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -19,7 +19,8 @@ UI_FILES = \
 
 gnome_tetravex_VALAFLAGS = \
        --pkg posix \
-       --pkg gtk+-3.0
+       --pkg gtk+-3.0 \
+    --target-glib 2.36
 
 gnome_tetravex_CFLAGS = \
        -DVERSION=\"$(VERSION)\" \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]