[Spice-devel] [PATCH spice-server 2/2] fixup! Convert RedChannel hierarchy to GObject

Frediano Ziglio fziglio at redhat.com
Thu Oct 20 11:39:41 UTC 2016


Revert a line move.

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 server/main-channel-client.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/server/main-channel-client.h b/server/main-channel-client.h
index b5825db..360c61e 100644
--- a/server/main-channel-client.h
+++ b/server/main-channel-client.h
@@ -24,6 +24,9 @@
 
 G_BEGIN_DECLS
 
+/* FIXME: remove extra MainChannel typedef when possible */
+typedef struct MainChannel MainChannel;
+
 #define TYPE_MAIN_CHANNEL_CLIENT main_channel_client_get_type()
 
 #define MAIN_CHANNEL_CLIENT(obj) \
@@ -53,8 +56,6 @@ struct MainChannelClientClass
     RedChannelClientClass parent_class;
 };
 
-typedef struct MainChannel MainChannel;
-
 GType main_channel_client_get_type(void) G_GNUC_CONST;
 
 MainChannelClient *main_channel_client_create(MainChannel *main_chan, RedClient *client,
-- 
2.7.4



More information about the Spice-devel mailing list