Work around deprecated thread API in glib master
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 12 Dec 2011 11:33:31 +0000 (11:33 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 13 Dec 2011 01:02:33 +0000 (01:02 +0000)
commit5b3d829ae812bfab7d204443da6bd084eed94833
tree75bd4f4a9762fd43a9dd2d4674b05a657cbb8ddd
parent43083f5a9447c8b1ca31fb1fd0940e422fdbda83
Work around deprecated thread API in glib master

Add private replacements for deprecated functions such as
g_mutex_new(), g_mutex_free(), g_cond_new() etc., mostly
to avoid the deprecation warnings. We can't change most of
these in 0.10 because they're part of our API and ABI.

Suppress deprecation warnings in selected files, mostly for
g_static_rec_mutex_*. StaticRecMutex is part of our API/ABI,
not much we can do here in 0.10.
gst-libs/gst/Makefile.am
gst-libs/gst/glib-compat-private.h [new file with mode: 0644]
gst/asfdemux/gstasfdemux.c
gst/mpegaudioparse/gstmpegaudioparse.c
gst/realmedia/rademux.c
gst/realmedia/rdtmanager.c
gst/realmedia/rmdemux.c