diff options
Diffstat (limited to 'ui/vnc-jobs.c')
-rw-r--r-- | ui/vnc-jobs.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/vnc-jobs.c b/ui/vnc-jobs.c index 04f139b56f..57c091683b 100644 --- a/ui/vnc-jobs.c +++ b/ui/vnc-jobs.c @@ -321,6 +321,11 @@ static void *vnc_worker_thread(void *arg) return NULL; } +static bool vnc_worker_thread_running(void) +{ + return queue; /* Check global queue */ +} + void vnc_start_worker_thread(void) { VncJobQueue *q; @@ -333,11 +338,6 @@ void vnc_start_worker_thread(void) queue = q; /* Set global queue */ } -bool vnc_worker_thread_running(void) -{ - return queue; /* Check global queue */ -} - void vnc_stop_worker_thread(void) { if (!vnc_worker_thread_running()) |