Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- server/cursor-channel.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/server/cursor-channel.c b/server/cursor-channel.c index 444d89b..4df5c66 100644 --- a/server/cursor-channel.c +++ b/server/cursor-channel.c @@ -203,8 +203,7 @@ void cursor_channel_disconnect(CursorChannel *cursor_channel) } -static void put_cursor_pipe_item(CursorChannelClient *ccc, - RedCursorPipeItem *pipe_item) +static void put_cursor_pipe_item(RedCursorPipeItem *pipe_item) { spice_return_if_fail(pipe_item); spice_return_if_fail(pipe_item->refs > 0); @@ -235,7 +234,7 @@ static void cursor_channel_client_release_item_before_push(CursorChannelClient * switch (item->type) { case RED_PIPE_ITEM_TYPE_CURSOR: { RedCursorPipeItem *cursor_pipe_item = SPICE_CONTAINEROF(item, RedCursorPipeItem, base); - put_cursor_pipe_item(ccc, cursor_pipe_item); + put_cursor_pipe_item(cursor_pipe_item); break; } case RED_PIPE_ITEM_TYPE_INVAL_ONE: @@ -255,7 +254,7 @@ static void cursor_channel_client_release_item_after_push(CursorChannelClient *c switch (item->type) { case RED_PIPE_ITEM_TYPE_CURSOR: { RedCursorPipeItem *cursor_pipe_item = SPICE_CONTAINEROF(item, RedCursorPipeItem, base); - put_cursor_pipe_item(ccc, cursor_pipe_item); + put_cursor_pipe_item(cursor_pipe_item); break; } default: -- 2.7.4 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel