[PATCH spice-server] worker: Remove dependencies from red-worker.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 server/image-encoders.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/image-encoders.c b/server/image-encoders.c
index 39aca6c..3a73e0c 100644
--- a/server/image-encoders.c
+++ b/server/image-encoders.c
@@ -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
-- 
2.7.4

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]