[network-manager-applet/nma-0-9-6] build: don't warn about gtk widgets that are deprecated in 3.x
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet/nma-0-9-6] build: don't warn about gtk widgets that are deprecated in 3.x
- Date: Thu, 23 Aug 2012 17:44:13 +0000 (UTC)
commit 6b274241154b2015a395da4f5336bd5af544bc98
Author: Dan Winship <danw gnome org>
Date: Wed Aug 22 09:50:00 2012 -0400
build: don't warn about gtk widgets that are deprecated in 3.x
Until we can stop supporting gtk 2.x, we don't want to port to the
newer 3.x widgets (like GtkGrid), so disable deprecation warnings
about them.
configure.ac | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index cb44f12..52a51d3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -109,6 +109,9 @@ PKG_CHECK_MODULES(NMA,
# GValueArray stuff). We say GLIB_VERSION_2_26 because there
# aren't macros for any older versions.
NMA_CFLAGS="$NMA_CFLAGS -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26"
+# Likewise for Gtk; we don't want to port to GtkGrid, etc, until
+# we can drop gtk2 support
+NMA_CFLAGS="$NMA_CFLAGS -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_0"
AC_MSG_CHECKING([whether to build nm-applet-migration-tool])
AC_ARG_ENABLE([migration],
@@ -149,7 +152,7 @@ AC_SUBST(NOTIFY_CFLAGS)
AC_SUBST(NOTIFY_LIBS)
gtk2_req=2.20
-gtk3_req=2.91.4
+gtk3_req=3.0
AC_ARG_WITH([gtkver], AS_HELP_STRING([--with-gtkver], [The major version of GTK+ to build with]),
with_gtkver="$withval",with_gtkver=0)
case "${with_gtkver}" in
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]