test-colorkey: remove the XInitThreads()

We don't do this is any other example, this should be done for us in gdk it if
would be needed.
This commit is contained in:
Stefan Kost 2010-02-15 11:11:04 +02:00
parent 3be20d7a5e
commit 432790c4ff

View file

@ -30,8 +30,6 @@
#include <gdk/gdkx.h>
#include <gtk/gtk.h>
#include <X11/Xlib.h>
#include <gst/gst.h>
#include <gst/interfaces/xoverlay.h>
#include <gst/interfaces/propertyprobe.h>
@ -167,11 +165,6 @@ main (int argc, char **argv)
if (!g_thread_supported ())
g_thread_init (NULL);
if (!XInitThreads ()) {
g_print ("XInitThreads failed\n");
exit (-1);
}
gst_init (&argc, &argv);
gtk_init (&argc, &argv);