glue/glib: g_thread_supported() is deprecated in GLib 2.36

https://bugzilla.gnome.org/show_bug.cgi?id=700875
This commit is contained in:
Tim-Philipp Müller 2013-05-23 23:53:29 +01:00
parent 23537b22f4
commit 8d970ba978

View 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
}