about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMarco Peereboom <marco@conformal.com>2011-10-12 17:59:39 -0500
committerMarco Peereboom <marco@conformal.com>2011-10-12 17:59:39 -0500
commit6c7ef649a6fbe57b65fa9ae9fc8e6e0908fb37d0 (patch)
tree0689af37bf22c0e93f6debbe047b653f41def96a
parentb3f9e45c5e0d66364d04ae28f9abf8859f84104a (diff)
downloadxombrero-6c7ef649a6fbe57b65fa9ae9fc8e6e0908fb37d0.tar.gz
remove gdk_threads_init(); for linux
It hangs the external flash player.  The docs explicitly require this
call however tests show that it isn't required and it makes things
better.  So try using it this way and see if there is some thread
fallout.

I'll take a cluebat as to why this can't be done on linux.
-rw-r--r--xxxterm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xxxterm.c b/xxxterm.c
index 88b0a14..b6f53b4 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -10175,7 +10175,9 @@ main(int argc, char *argv[])
 
 	/* prepare gtk */
 	g_thread_init(NULL);
+#if !defined(__linux__)
 	gdk_threads_init();
+#endif
 	gdk_threads_enter();
 	gtk_init(&argc, &argv);
 
href='#n119'>119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142