]> www.fi.muni.cz Git - evince.git/commitdiff
libview: add a method to get the job currently running in the worker thread
authorCarlos Garcia Campos <carlosgc@gnome.org>
Sat, 4 Dec 2010 14:41:35 +0000 (15:41 +0100)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Sat, 4 Dec 2010 14:56:50 +0000 (15:56 +0100)
When a job is cancelled while it's running, the cancelled signal might be
emitted before the job finishes, and since the finished signal is not
emitted for cancelled jobs, it's not possible to know when the job has
finished. With this method we can see whether the job is still running
and wait until it finishes.


No differences found