From 8d970ba9789b1d3ae6c38ada8b0de6bbefcf2639 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 23 May 2013 23:53:29 +0100 Subject: [PATCH] glue/glib: g_thread_supported() is deprecated in GLib 2.36 https://bugzilla.gnome.org/show_bug.cgi?id=700875 --- gstreamer-sharp/glue/glib.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gstreamer-sharp/glue/glib.c b/gstreamer-sharp/glue/glib.c index 1b5dfaa920..5a0510acee 100644 --- a/gstreamer-sharp/glue/glib.c +++ b/gstreamer-sharp/glue/glib.c @@ -27,5 +27,9 @@ gboolean gstglibsharp_g_thread_supported (void); gboolean gstglibsharp_g_thread_supported () { +#if !GLIB_CHECK_VERSION (2, 35, 0) return g_thread_supported (); +#else + return TRUE; +#endif }