Commit 979d877c authored by Cosimo Cecchi's avatar Cosimo Cecchi

Enforce {GDK,GTK}_DISABLE_DEPRECATED cflags

Now that we build cleanly without deprecated symbols, widen the
deprecated check policy to GDK/GTK+.
parent b695c970
......@@ -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 ==============================================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment