diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-09-20 12:56:42 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-09-20 12:56:42 -0700 |
commit | 2f7fa769d4bb3de7c84d621aaab761a4c69394a0 (patch) | |
tree | a3b0d5d0e0eb237af646dc707532eb3775124cbf /print.c | |
parent | f4bc0ca37b47fd731bf55bc6c4675a34092771da (diff) | |
download | subsurface-2f7fa769d4bb3de7c84d621aaab761a4c69394a0.tar.gz |
Don't update the progress bar from the dive computer import thread
There's no guarantee that gtk is thread-safe (apparently it can be
broken at least on Windows, even though it should be fine on top of X).
So don't update the progress bar directly from the dive computer import
code, instead just update the progress information in static variables,
and let the GUI thread update it while it does the idle loop polling
anyway.
Reported-by: Jef Driesen <jefdriesen@telenet.be>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'print.c')
0 files changed, 0 insertions, 0 deletions