summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2010-02-15 11:11:04 +0200
committerStefan Kost <ensonic@users.sf.net>2010-02-16 18:05:40 +0200
commit432790c4ff89aa0f51c9dc9d68048b52f9e7c343 (patch)
tree8d9e4e161f54f69bdd38d4222ca163e95dcf3946
parent3be20d7a5e5cac23fd162702bad49ff911c76c37 (diff)
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.
-rw-r--r--tests/icles/test-colorkey.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/icles/test-colorkey.c b/tests/icles/test-colorkey.c
index 9acab1778..b727e806a 100644
--- a/tests/icles/test-colorkey.c
+++ b/tests/icles/test-colorkey.c
@@ -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);