diff options
author | Marco Peereboom <marco@conformal.com> | 2011-10-12 17:59:39 -0500 |
---|---|---|
committer | Marco Peereboom <marco@conformal.com> | 2011-10-12 17:59:39 -0500 |
commit | 6c7ef649a6fbe57b65fa9ae9fc8e6e0908fb37d0 (patch) | |
tree | 0689af37bf22c0e93f6debbe047b653f41def96a | |
parent | b3f9e45c5e0d66364d04ae28f9abf8859f84104a (diff) | |
download | xombrero-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.c | 2 |
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); |