summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2018-04-11 13:13:45 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2018-04-16 11:46:32 +0200
commit050c1f55ab446c1c45bbb16f8349540fcd24e7a9 (patch)
treea02299e31346302e2b6c1a8e9c8d70d10000b73b
parentb547919190a6e1615b6ac4ba779210211a120135 (diff)
cursor: Rename cursor_marshall to red_marshall_cursor
The name is more consistent with red_marshall_cursor_init. Signed-off-by: Christophe Fergeau <cfergeau@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
-rw-r--r--server/cursor-channel.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/cursor-channel.c b/server/cursor-channel.c
index 522261e3..ada1d62a 100644
--- a/server/cursor-channel.c
+++ b/server/cursor-channel.c
@@ -142,9 +142,9 @@ static void red_marshall_cursor_init(CursorChannelClient *ccc, SpiceMarshaller *
spice_marshall_msg_cursor_init(base_marshaller, &msg);
}
-static void cursor_marshall(CursorChannelClient *ccc,
- SpiceMarshaller *m,
- RedCursorPipeItem *cursor_pipe_item)
+static void red_marshall_cursor(CursorChannelClient *ccc,
+ SpiceMarshaller *m,
+ RedCursorPipeItem *cursor_pipe_item)
{
RedChannelClient *rcc = RED_CHANNEL_CLIENT(ccc);
CursorChannel *cursor_channel = CURSOR_CHANNEL(red_channel_client_get_channel(rcc));
@@ -212,7 +212,7 @@ static void cursor_channel_send_item(RedChannelClient *rcc, RedPipeItem *pipe_it
switch (pipe_item->type) {
case RED_PIPE_ITEM_TYPE_CURSOR:
- cursor_marshall(ccc, m, SPICE_UPCAST(RedCursorPipeItem, pipe_item));
+ red_marshall_cursor(ccc, m, SPICE_UPCAST(RedCursorPipeItem, pipe_item));
break;
case RED_PIPE_ITEM_TYPE_INVAL_ONE:
red_marshall_inval(rcc, m, SPICE_CONTAINEROF(pipe_item, RedCacheItem, u.pipe_data));