From ff6cc8af82136371a7e6236d438eed8b020ff951 Mon Sep 17 00:00:00 2001 From: Tim-Philipp Müller Date: Sun, 4 Dec 2011 17:02:39 +0000 Subject: tools, tests: g_thread_init() is deprecated in glib master It's not needed any longer. --- tools/gst-discoverer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools') diff --git a/tools/gst-discoverer.c b/tools/gst-discoverer.c index 210c1ed75..a3cd4f9df 100644 --- a/tools/gst-discoverer.c +++ b/tools/gst-discoverer.c @@ -497,8 +497,10 @@ main (int argc, char **argv) }; GOptionContext *ctx; +#if !GLIB_CHECK_VERSION (2, 31, 0) if (!g_thread_supported ()) g_thread_init (NULL); +#endif ctx = g_option_context_new -- cgit v1.2.3