[Spice-devel] [PATCH spice-server] fixup! Update usage of GObject private structures
Frediano Ziglio
fziglio at redhat.com
Thu Feb 7 16:42:53 UTC 2019
Split long lines.
---
server/common-graphics-channel.c | 6 ++++--
server/cursor-channel-client.c | 3 ++-
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/server/common-graphics-channel.c b/server/common-graphics-channel.c
index 1bf44fee..b70fa3a4 100644
--- a/server/common-graphics-channel.c
+++ b/server/common-graphics-channel.c
@@ -35,13 +35,15 @@ struct CommonGraphicsChannelPrivate
of the primary surface) */
};
-G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE(CommonGraphicsChannel, common_graphics_channel, RED_TYPE_CHANNEL)
+G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE(CommonGraphicsChannel, common_graphics_channel,
+ RED_TYPE_CHANNEL)
struct CommonGraphicsChannelClientPrivate {
uint8_t recv_buf[CHANNEL_RECEIVE_BUF_SIZE];
};
-G_DEFINE_TYPE_WITH_PRIVATE(CommonGraphicsChannelClient, common_graphics_channel_client, RED_TYPE_CHANNEL_CLIENT)
+G_DEFINE_TYPE_WITH_PRIVATE(CommonGraphicsChannelClient, common_graphics_channel_client,
+ RED_TYPE_CHANNEL_CLIENT)
static uint8_t *common_alloc_recv_buf(RedChannelClient *rcc, uint16_t type, uint32_t size)
{
diff --git a/server/cursor-channel-client.c b/server/cursor-channel-client.c
index dfe1b13d..d72989ab 100644
--- a/server/cursor-channel-client.c
+++ b/server/cursor-channel-client.c
@@ -43,7 +43,8 @@ struct CursorChannelClientPrivate
uint32_t cursor_cache_items;
};
-G_DEFINE_TYPE_WITH_PRIVATE(CursorChannelClient, cursor_channel_client, TYPE_COMMON_GRAPHICS_CHANNEL_CLIENT)
+G_DEFINE_TYPE_WITH_PRIVATE(CursorChannelClient, cursor_channel_client,
+ TYPE_COMMON_GRAPHICS_CHANNEL_CLIENT)
static void cursor_channel_client_on_disconnect(RedChannelClient *rcc);
--
2.20.1
More information about the Spice-devel
mailing list