[iagno] Require glib 2.36 to remove g_type_init deprecation warning



commit 1a081a69820e1d1e4c7123c2e24f1b572562ea14
Author: Robert Ancell <robert ancell canonical com>
Date:   Tue Oct 15 10:04:44 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 c9b1a00..1a879b9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,11 +13,13 @@ dnl ###########################################################################
 dnl Dependencies
 dnl ###########################################################################
 
+GLIB_REQUIRED=2.36.0
 GTK_REQUIRED=3.4.0
 RSVG_REQUIRED=2.32.0
 CANBERRA_GTK_REQUIRED=0.26
 
 PKG_CHECK_MODULES(IAGNO, [
+  glib-2.0 >= $GLIB_REQUIRED
   gtk+-3.0 >= $GTK_REQUIRED
   librsvg-2.0 >= $RSVG_REQUIRED
   libcanberra-gtk3 >= $CANBERRA_GTK_REQUIRED
diff --git a/src/Makefile.am b/src/Makefile.am
index 4ddb956..496eb1e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -22,7 +22,8 @@ iagno_VALAFLAGS = \
        --pkg gtk+-3.0 \
        --pkg librsvg-2.0 \
        --pkg libcanberra \
-       --pkg libcanberra-gtk
+       --pkg libcanberra-gtk \
+       --target-glib 2.36
 
 iagno_LDADD = $(IAGNO_LIBS)
 


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