[Spice-commits] server/display-channel-private.h server/display-channel.h

Frediano Ziglio fziglio at kemper.freedesktop.org
Wed Feb 1 15:35:42 UTC 2017


 server/display-channel-private.h |    9 +++++++++
 server/display-channel.h         |    9 ---------
 2 files changed, 9 insertions(+), 9 deletions(-)

New commits:
commit 98a168cb3fa5e440828d029b73852b455a1c967d
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Wed Feb 1 13:40:34 2017 +0000

    display-channel: Move _Drawable declaration to private header
    
    The structure is used only to allocate private data.
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Jonathon Jongsma <jjongsma at redhat.com>

diff --git a/server/display-channel-private.h b/server/display-channel-private.h
index a930cce..afb28b6 100644
--- a/server/display-channel-private.h
+++ b/server/display-channel-private.h
@@ -20,6 +20,15 @@
 
 #include "display-channel.h"
 
+#define NUM_DRAWABLES 1000
+typedef struct _Drawable _Drawable;
+struct _Drawable {
+    union {
+        Drawable drawable;
+        _Drawable *next;
+    } u;
+};
+
 struct DisplayChannelPrivate
 {
     DisplayChannel *pub;
diff --git a/server/display-channel.h b/server/display-channel.h
index 5ecc5c3..497f911 100644
--- a/server/display-channel.h
+++ b/server/display-channel.h
@@ -173,15 +173,6 @@ typedef struct RedSurface {
     QXLReleaseInfoExt create, destroy;
 } RedSurface;
 
-#define NUM_DRAWABLES 1000
-typedef struct _Drawable _Drawable;
-struct _Drawable {
-    union {
-        Drawable drawable;
-        _Drawable *next;
-    } u;
-};
-
 #define FOREACH_DCC(_channel, _iter, _data) \
     GLIST_FOREACH((_channel ? red_channel_get_clients(RED_CHANNEL(_channel)) : NULL), \
                   _iter, DisplayChannelClient, _data)


More information about the Spice-commits mailing list