[gnome-mines] Require glib 2.36 to remove g_type_init deprecation warning
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-mines] Require glib 2.36 to remove g_type_init deprecation warning
- Date: Mon, 14 Oct 2013 21:01:58 +0000 (UTC)
commit 3fbbd97016eb341e68627c72bf777c4dc978050a
Author: Robert Ancell <robert ancell canonical com>
Date: Tue Oct 15 09:47:29 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 095f296..5384db3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,10 +13,12 @@ dnl ###########################################################################
dnl Dependencies
dnl ###########################################################################
+GLIB_REQUIRED=2.36.0
GTK_REQUIRED=3.10.0
RSVG_REQUIRED=2.32.0
PKG_CHECK_MODULES(GNOME_MINES, [
+ glib-2.0 >= $GLIB_REQUIRED
gtk+-3.0 >= $GTK_REQUIRED
librsvg-2.0 >= $RSVG_REQUIRED
])
diff --git a/src/Makefile.am b/src/Makefile.am
index 3039756..d1a574f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -19,7 +19,8 @@ gnome_mines_VALAFLAGS = \
--pkg gtk+-3.0 \
--pkg librsvg-2.0 \
--pkg pango \
- --pkg pangocairo
+ --pkg pangocairo \
+ --target-glib 2.36
gnome_mines_LDADD = \
$(GNOME_MINES_LIBS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]