diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2013-05-23 23:53:29 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2013-05-23 23:53:29 +0100 |
commit | 8d970ba9789b1d3ae6c38ada8b0de6bbefcf2639 (patch) | |
tree | 10a7e295e3d625b1365196307b6779e03a536aba | |
parent | 23537b22f4c7e6918bca9a84036c33b0cafdcf67 (diff) |
glue/glib: g_thread_supported() is deprecated in GLib 2.360.10
https://bugzilla.gnome.org/show_bug.cgi?id=700875
-rw-r--r-- | gstreamer-sharp/glue/glib.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gstreamer-sharp/glue/glib.c b/gstreamer-sharp/glue/glib.c index 1b5dfaa..5a0510a 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 } |