summaryrefslogtreecommitdiffstats
path: root/server/cursor-channel.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2015-10-29 16:54:43 -0500
committerFrediano Ziglio <fziglio@redhat.com>2015-10-30 08:47:53 +0000
commit591f39e7ccd1f9b5ba1839c937883970e1bfefdb (patch)
tree0e125cc7f46bd1b696f25a6a74c16cb3bd70f614 /server/cursor-channel.c
parent8f5a5582c03774f99796d676f39a32933b6b90a9 (diff)
downloadspice-591f39e7ccd1f9b5ba1839c937883970e1bfefdb.tar.gz
spice-591f39e7ccd1f9b5ba1839c937883970e1bfefdb.tar.xz
spice-591f39e7ccd1f9b5ba1839c937883970e1bfefdb.zip
common_channel_client_create -> common_channel_new_client
Rename and re-order the initial arguments to make this function look and act more like a method of the CommonChannel class. Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
Diffstat (limited to 'server/cursor-channel.c')
-rw-r--r--server/cursor-channel.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/server/cursor-channel.c b/server/cursor-channel.c
index 6eac5054..22514dc5 100644
--- a/server/cursor-channel.c
+++ b/server/cursor-channel.c
@@ -388,15 +388,15 @@ CursorChannelClient *cursor_channel_client_new(CommonChannel *common,
uint32_t *caps, int num_caps)
{
CursorChannelClient *ccc =
- (CursorChannelClient*)common_channel_client_create(
- sizeof(CursorChannelClient), common, client, stream,
- mig_target,
- FALSE,
- common_caps,
- num_common_caps,
- caps,
- num_caps);
-
+ (CursorChannelClient*)common_channel_new_client(common,
+ sizeof(CursorChannelClient),
+ client, stream,
+ mig_target,
+ FALSE,
+ common_caps,
+ num_common_caps,
+ caps,
+ num_caps);
if (!ccc) {
return NULL;
}