glue/glib: g_thread_supported() is deprecated in GLib 2.36
authorTim-Philipp Müller <tim@centricular.net>
Thu, 23 May 2013 22:53:29 +0000 (23:53 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Thu, 23 May 2013 22:53:29 +0000 (23:53 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=700875

gstreamer-sharp/glue/glib.c

index 1b5dfaa920bcddb5b726a81fb2b00d3f9f29e886..5a0510aceec7a4f9ecb70d0d4611827c1bf0020f 100644 (file)
@@ -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
 }