glib-compat-private.h: remove old GStaticRecMutex stuff

Breaks the build with newer GLibs ("unknown type GStaticRecMutex")
and is not needed any more.
This commit is contained in:
Tim-Philipp Müller 2013-02-12 10:39:44 +00:00
parent aedc136926
commit 0dcb7c27ba

View file

@ -79,14 +79,6 @@ gst_g_mutex_free (GMutex *mutex)
g_mutex_clear (mutex);
g_slice_free (GMutex, mutex);
}
#define g_static_rec_mutex_init gst_g_static_rec_mutex_init
static inline void
gst_g_static_rec_mutex_init (GStaticRecMutex *mutex)
{
static const GStaticRecMutex init_mutex = G_STATIC_REC_MUTEX_INIT;
*mutex = init_mutex;
}
#define g_cond_new gst_g_cond_new
static inline GCond *
gst_g_cond_new (void)