worker: Remove dependencies from red-worker.h

red_drawable_unref declaration was moved to red-parse-qxl.h.
Result is that only RedDispatcher know of the existence of RedWorker.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Pavel Grunt <pgrunt@redhat.com>
This commit is contained in:
Frediano Ziglio 2016-10-17 19:43:20 +01:00
parent 2307bb45b5
commit 909841b312

View File

@ -23,7 +23,7 @@
#include "image-encoders.h"
#include "spice-bitmap-utils.h"
#include "red-worker.h" // red_drawable_unref
#include "red-parse-qxl.h" // red_drawable_unref
#include "pixmap-cache.h" // MAX_CACHE_CLIENTS
#define ZLIB_DEFAULT_COMPRESSION_LEVEL 3