[swell-foop] 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: [swell-foop] Require glib 2.36 to remove g_type_init deprecation warning
- Date: Mon, 14 Oct 2013 21:45:41 +0000 (UTC)
commit 96f4b1d1e5548a08129cdc1075303368d2d32b8f
Author: Robert Ancell <robert ancell canonical com>
Date: Tue Oct 15 10:44:27 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 ecf0a20..edafa1d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,12 +13,14 @@ dnl ###########################################################################
dnl Dependencies
dnl ###########################################################################
+GLIB_REQUIRED=2.36.0
GTK_REQUIRED=3.4.0
CLUTTER_REQUIRED=1.0.0
CLUTTER_GTK_REQUIRED=0.91.6
PKG_CHECK_MODULES(SWELL_FOOP, [
gmodule-export-2.0
+ glib-2.0 >= $GLIB_REQUIRED
gtk+-3.0 >= $GTK_REQUIRED
clutter-1.0 >= $CLUTTER_REQUIRED
clutter-gtk-1.0 >= $CLUTTER_REQUIRED
diff --git a/src/Makefile.am b/src/Makefile.am
index f325c40..6da2748 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -10,7 +10,8 @@ swell_foop_SOURCES = \
swell_foop_VALAFLAGS = \
--pkg posix \
--pkg gmodule-2.0 \
- --pkg clutter-gtk-1.0
+ --pkg clutter-gtk-1.0 \
+ --target-glib 2.36
swell_foop_CFLAGS = \
-DVERSION=\"$(VERSION)\" \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]