summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathon Jongsma <jjongsma@redhat.com>2016-05-17 17:02:07 -0500
committerJonathon Jongsma <jjongsma@redhat.com>2016-05-17 17:02:07 -0500
commit6942f261df91602c227af9ed7856f061488573c9 (patch)
treec1fab4b279036458e078cd08fd162ee51c39c4c8
parente10a37412b56066e68f9ad42a21738dcccb50ecd (diff)
Move _RedSpiceDrawable to private headerrefactory-20160519
-rw-r--r--server/display-channel-private.h8
-rw-r--r--server/display-channel.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/server/display-channel-private.h b/server/display-channel-private.h
index 3633b6f4..88b676f0 100644
--- a/server/display-channel-private.h
+++ b/server/display-channel-private.h
@@ -20,6 +20,14 @@
#include "display-channel.h"
+typedef struct _RedSpiceDrawable _RedSpiceDrawable;
+struct _RedSpiceDrawable {
+ union {
+ RedSpiceDrawable drawable;
+ _RedSpiceDrawable *next;
+ } u;
+};
+
struct DisplayChannelPrivate
{
DisplayChannel *pub;
diff --git a/server/display-channel.h b/server/display-channel.h
index 5eb6b8d4..ad821027 100644
--- a/server/display-channel.h
+++ b/server/display-channel.h
@@ -181,14 +181,6 @@ typedef struct RedSurface {
QXLReleaseInfoExt create, destroy;
} RedSurface;
-typedef struct _RedSpiceDrawable _RedSpiceDrawable;
-struct _RedSpiceDrawable {
- union {
- RedSpiceDrawable drawable;
- _RedSpiceDrawable *next;
- } u;
-};
-
#define FOREACH_DCC(channel, _link, _next, _data) \
for (_link = (channel ? red_channel_get_clients(RED_CHANNEL(channel)) : NULL), \
_next = (_link ? _link->next : NULL), \