From 14acb6fb3796c9c29dc03ae98a61c7857255cfad Mon Sep 17 00:00:00 2001 From: Vineeth T M Date: Mon, 29 Sep 2014 10:15:39 +0530 Subject: [PATCH] gst: remove unnecessary GLIB_DISABLE_DEPRECATION_WARNINGS There are unnecessary definitions for disabling deprecation warnings. Since GLIB_DISABLE_DEPRECATION_WARNINGS is not needed anymore in these files, removing the same. https://bugzilla.gnome.org/show_bug.cgi?id=737559 --- gst/aiff/aiffparse.c | 4 ---- gst/camerabin2/gstwrappercamerabinsrc.c | 4 ---- gst/coloreffects/gstchromahold.c | 5 ----- gst/dvdspu/gstdvdspu.c | 4 ---- gst/mpegtsmux/mpegtsmux.c | 4 ---- gst/mxf/mxfdemux.c | 4 ---- gst/rawparse/gstrawparse.c | 4 ---- gst/sdp/gstsdpdemux.c | 4 ---- 8 files changed, 33 deletions(-) diff --git a/gst/aiff/aiffparse.c b/gst/aiff/aiffparse.c index 6d77e7cf92..da45ce5a23 100644 --- a/gst/aiff/aiffparse.c +++ b/gst/aiff/aiffparse.c @@ -53,10 +53,6 @@ #include "config.h" #endif -/* FIXME 0.11: suppress warnings for deprecated API such as GStaticRecMutex - * with newer GLib versions (>= 2.31.0) */ -#define GLIB_DISABLE_DEPRECATION_WARNINGS - #include #include diff --git a/gst/camerabin2/gstwrappercamerabinsrc.c b/gst/camerabin2/gstwrappercamerabinsrc.c index f1cc9ac796..24f44f39aa 100644 --- a/gst/camerabin2/gstwrappercamerabinsrc.c +++ b/gst/camerabin2/gstwrappercamerabinsrc.c @@ -31,10 +31,6 @@ # include #endif -/* FIXME 0.11: suppress warnings for deprecated API such as GStaticRecMutex - * with newer GLib versions (>= 2.31.0) */ -#define GLIB_DISABLE_DEPRECATION_WARNINGS - #include #include "gstwrappercamerabinsrc.h" diff --git a/gst/coloreffects/gstchromahold.c b/gst/coloreffects/gstchromahold.c index e13984bf78..f4dd9edb75 100644 --- a/gst/coloreffects/gstchromahold.c +++ b/gst/coloreffects/gstchromahold.c @@ -35,15 +35,10 @@ * ]| This pipeline only keeps the red color. */ - #ifdef HAVE_CONFIG_H #include "config.h" #endif -/* FIXME 0.11: suppress warnings for deprecated API such as GStaticRecMutex - * with newer GLib versions (>= 2.31.0) */ -#define GLIB_DISABLE_DEPRECATION_WARNINGS - #include "gstchromahold.h" #include diff --git a/gst/dvdspu/gstdvdspu.c b/gst/dvdspu/gstdvdspu.c index 57447266e3..8ac8e65f91 100644 --- a/gst/dvdspu/gstdvdspu.c +++ b/gst/dvdspu/gstdvdspu.c @@ -32,10 +32,6 @@ # include #endif -/* FIXME 0.11: suppress warnings for deprecated API such as GStaticRecMutex - * with newer GLib versions (>= 2.31.0) */ -#define GLIB_DISABLE_DEPRECATION_WARNINGS - #include #include diff --git a/gst/mpegtsmux/mpegtsmux.c b/gst/mpegtsmux/mpegtsmux.c index af246a20d0..975c9263a0 100644 --- a/gst/mpegtsmux/mpegtsmux.c +++ b/gst/mpegtsmux/mpegtsmux.c @@ -88,10 +88,6 @@ #include #include -/* FIXME 0.11: suppress warnings for deprecated API such as GStaticRecMutex - * with newer GLib versions (>= 2.31.0) */ -#define GLIB_DISABLE_DEPRECATION_WARNINGS - #include #include #include diff --git a/gst/mxf/mxfdemux.c b/gst/mxf/mxfdemux.c index 1c093b40bf..927681f8da 100644 --- a/gst/mxf/mxfdemux.c +++ b/gst/mxf/mxfdemux.c @@ -52,10 +52,6 @@ #include "config.h" #endif -/* FIXME 0.11: suppress warnings for deprecated API such as GStaticRecMutex - * with newer GLib versions (>= 2.31.0) */ -#define GLIB_DISABLE_DEPRECATION_WARNINGS - #include "mxfdemux.h" #include "mxfessence.h" diff --git a/gst/rawparse/gstrawparse.c b/gst/rawparse/gstrawparse.c index f807d9effd..5f5925a169 100644 --- a/gst/rawparse/gstrawparse.c +++ b/gst/rawparse/gstrawparse.c @@ -29,10 +29,6 @@ #include -/* FIXME 0.11: suppress warnings for deprecated API such as GStaticRecMutex - * with newer GLib versions (>= 2.31.0) */ -#define GLIB_DISABLE_DEPRECATION_WARNINGS - #include #include #include diff --git a/gst/sdp/gstsdpdemux.c b/gst/sdp/gstsdpdemux.c index 17e2e05e18..900379d559 100644 --- a/gst/sdp/gstsdpdemux.c +++ b/gst/sdp/gstsdpdemux.c @@ -45,10 +45,6 @@ #include "config.h" #endif -/* FIXME 0.11: suppress warnings for deprecated API such as GStaticRecMutex - * with newer GLib versions (>= 2.31.0) */ -#define GLIB_DISABLE_DEPRECATION_WARNINGS - #include "gstsdpdemux.h" #include