[gdk-pixbuf] build: Stop using -DG_DISABLE_DEPRECATED



commit 6136f4e8e79ad4501ec43166c27aaa7541585a04
Author: Colin Walters <walters verbum org>
Date:   Wed Oct 12 11:56:10 2011 -0400

    build: Stop using -DG_DISABLE_DEPRECATED
    
    No longer necessary now that they're compile warnings.

 configure.ac |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index e45f5d0..89be0e9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -411,16 +411,6 @@ AM_PATH_GLIB_2_0(glib_required_version, :,
 *** GLIB is always available from ftp://ftp.gtk.org/pub/gtk/.]),
   gobject gmodule-no-export gthread)
 
-# See if it's safe to turn G_DISABLE_DEPRECATED on.
-GLIB_VERSION_MAJOR_MINOR=`$PKG_CONFIG --modversion glib-2.0 | sed "s/\.@<:@^.@:>@*\$//"`
-GLIB_REQUIRED_VERSION_MAJOR_MINOR=`echo glib_required_version | sed "s/\.@<:@^.@:>@*\$//"`
-if test "x$GLIB_VERSION_MAJOR_MINOR" = "x$GLIB_REQUIRED_VERSION_MAJOR_MINOR"; then
-  CFLAGS="-DG_DISABLE_DEPRECATED $CFLAGS"
-fi
-
-CFLAGS="-DGDK_PIXBUF_DISABLE_DEPRECATED $CFLAGS"
-
-
 dnl
 dnl Check for bind_textdomain_codeset, including -lintl if GLib brings it in.
 dnl



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