Commit 432790c4 authored by Stefan Kost's avatar Stefan Kost
Browse files

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.
parent 3be20d7a
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment