[Spice-devel] [PATCH spice-gtk] Fix: remove dependency cycle

Javier Celaya javier.celaya at flexvm.es
Wed Feb 11 06:34:13 PST 2015


channel-port.h includes spice-client.h, that includes channel-webdav.h,
that includes channel-port.h again. It's enough if channel-port.h
includes spice-channel.h
---
 gtk/channel-port.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gtk/channel-port.h b/gtk/channel-port.h
index 84d512d..08c15dc 100644
--- a/gtk/channel-port.h
+++ b/gtk/channel-port.h
@@ -19,7 +19,7 @@
 #define __SPICE_CLIENT_PORT_CHANNEL_H__
 
 #include <gio/gio.h>
-#include "spice-client.h"
+#include "spice-channel.h"
 
 G_BEGIN_DECLS
 
-- 
1.9.3



More information about the Spice-devel mailing list