[gnome-power-manager] Remove -DGTK_DISABLE_DEPRECATED pending GtkStyleContext port



commit b1fffa15aa319cb15ff6f428270cc59b0ebaa7e4
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Mon Dec 6 08:50:49 2010 -0500

    Remove -DGTK_DISABLE_DEPRECATED pending GtkStyleContext port
    
    Until this module has been ported to GtkStyleContext, we can't compile
    with GTK_DISABLE_DEPRECATED.

 configure.ac |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 6f9eba6..f0cb38e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -37,7 +37,9 @@ AC_ARG_ENABLE(strict, AS_HELP_STRING([--enable-strict],
 		enable_strict=$default_strict)
 if test x$enable_strict != xno; then
 	CPPFLAGS="$CPPFLAGS -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES"
-	CPPFLAGS="$CPPFLAGS -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED"
+#	CPPFLAGS="$CPPFLAGS -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED"
+# -DGTK_DISABLE_DEPRECATED removed until module has been ported to GtkStyleContext
+	CPPFLAGS="$CPPFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED"
 	CPPFLAGS="$CPPFLAGS -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE"
 	CPPFLAGS="$CPPFLAGS -DGSEAL_ENABLE"
 	if test "$GCC" = "yes"; then



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