]> Pileus Git - ~andy/gtk/commitdiff
build: Strip out -DG_DISABLE_DEPRECATED
authorColin Walters <walters@verbum.org>
Wed, 12 Oct 2011 15:54:56 +0000 (11:54 -0400)
committerColin Walters <walters@verbum.org>
Wed, 12 Oct 2011 15:54:56 +0000 (11:54 -0400)
It's unnecessary pain now that they're warnings.

configure.ac

index 08ed8d09c8ae77ad633712d6dff92034b2aabb66..8944f6efd1d3d4011687581ee7cad934571b236b 100644 (file)
@@ -698,16 +698,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