From 0dcb7c27bad0e89ddc76fb98de63ce9d8820f211 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 12 Feb 2013 10:39:44 +0000 Subject: [PATCH] glib-compat-private.h: remove old GStaticRecMutex stuff Breaks the build with newer GLibs ("unknown type GStaticRecMutex") and is not needed any more. --- gst-libs/gst/glib-compat-private.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/gst-libs/gst/glib-compat-private.h b/gst-libs/gst/glib-compat-private.h index 8804f78..c96c005 100644 --- a/gst-libs/gst/glib-compat-private.h +++ b/gst-libs/gst/glib-compat-private.h @@ -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) -- 2.7.4