[nautilus] Enforce {GDK,GTK}_DISABLE_DEPRECATED cflags



commit 979d877c1803034be8a3ff69437974a1cfdbff30
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Apr 21 15:15:27 2009 +0200

    Enforce {GDK,GTK}_DISABLE_DEPRECATED cflags
    
    Now that we build cleanly without deprecated symbols, widen the
    deprecated check policy to GDK/GTK+.
---
 configure.in |   12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/configure.in b/configure.in
index 2abdbbf..54f47e2 100644
--- a/configure.in
+++ b/configure.in
@@ -436,20 +436,12 @@ AC_SUBST(CORE_CFLAGS)
 CORE_LIBS="`$PKG_CONFIG --libs $CORE_MODULES` $x_libs"
 AC_SUBST(CORE_LIBS)
 
-DISABLE_DEPRECATED_CFLAGS="-DG_DISABLE_DEPRECATED"
+DISABLE_DEPRECATED_CFLAGS="-DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED"
+AC_SUBST(DISABLE_DEPRECATED_CFLAGS)
 
 dnl Multimedia keys
 AC_CHECK_HEADERS([X11/XF86keysym.h])
 
-
-dnl Taken out for now
-dnl	-DGDK_DISABLE_DEPRECATED \
-dnl	-DGDK_PIXBUF_DISABLE_DEPRECATED \
-dnl	-DGTK_DISABLE_DEPRECATED \
-dnl	-DGNOME_DISABLE_DEPRECATED"
-
-AC_SUBST(DISABLE_DEPRECATED_CFLAGS)
-
 dnl ==============================================
 dnl Special GConf section 
 dnl ==============================================



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