summaryrefslogtreecommitdiff
path: root/server/cursor-channel.h
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2015-10-30 11:08:25 -0500
committerFrediano Ziglio <fziglio@redhat.com>2015-10-30 16:56:13 +0000
commit2d934ed82e22d3317186e5f63e28c5105b5ea2d2 (patch)
tree804c9bd74b2586fcefd85a2db1f057308fa79c36 /server/cursor-channel.h
parentf2c8609985beffd4dcbfcf0aa61cd2e468113fe1 (diff)
Make cursor_channel_disconnect a CursorChannel method
The first argument should be CursorChannel* rather than RedChannel* since it's essentially a CursorChannel method. Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
Diffstat (limited to 'server/cursor-channel.h')
-rw-r--r--server/cursor-channel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/cursor-channel.h b/server/cursor-channel.h
index 19142269..293cfc18 100644
--- a/server/cursor-channel.h
+++ b/server/cursor-channel.h
@@ -78,7 +78,7 @@ typedef struct CursorChannel {
G_STATIC_ASSERT(sizeof(CursorItem) <= QXL_CURSUR_DEVICE_DATA_SIZE);
CursorChannel* cursor_channel_new (RedWorker *worker);
-void cursor_channel_disconnect (RedChannel *channel);
+void cursor_channel_disconnect (CursorChannel *cursor_channel);
void cursor_channel_reset (CursorChannel *cursor);
void cursor_channel_process_cmd (CursorChannel *cursor, RedCursorCmd *cursor_cmd,
uint32_t group_id);