mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-26 14:41:25 +00:00
Remove unused red_channel_client_new()
Signed-off-by: Christophe Fergeau <cfergeau@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
parent
b8bc1fe715
commit
6a6d0fa339
@ -973,25 +973,6 @@ cleanup:
|
||||
return local_error == NULL;
|
||||
}
|
||||
|
||||
RedChannelClient *red_channel_client_create(RedChannel *channel, RedClient *client,
|
||||
RedsStream *stream,
|
||||
int monitor_latency,
|
||||
RedChannelCapabilities *caps)
|
||||
{
|
||||
RedChannelClient *rcc;
|
||||
|
||||
rcc = g_initable_new(RED_TYPE_CHANNEL_CLIENT,
|
||||
NULL, NULL,
|
||||
"channel", channel,
|
||||
"client", client,
|
||||
"stream", stream,
|
||||
"monitor-latency", monitor_latency,
|
||||
"caps", caps,
|
||||
NULL);
|
||||
|
||||
return rcc;
|
||||
}
|
||||
|
||||
static void red_channel_client_seamless_migration_done(RedChannelClient *rcc)
|
||||
{
|
||||
rcc->priv->wait_migrate_data = FALSE;
|
||||
|
||||
@ -47,11 +47,6 @@ typedef struct RedChannelClientPrivate RedChannelClientPrivate;
|
||||
|
||||
GType red_channel_client_get_type(void) G_GNUC_CONST;
|
||||
|
||||
RedChannelClient *red_channel_client_create(RedChannel *channel,
|
||||
RedClient *client, RedsStream *stream,
|
||||
int monitor_latency,
|
||||
RedChannelCapabilities *caps);
|
||||
|
||||
gboolean red_channel_client_is_connected(RedChannelClient *rcc);
|
||||
void red_channel_client_default_migrate(RedChannelClient *rcc);
|
||||
bool red_channel_client_is_waiting_for_migrate_data(RedChannelClient *rcc);
|
||||
|
||||
@ -37,7 +37,7 @@
|
||||
* red_channel_create.* and red_channel_destroy. The RedChannel resources
|
||||
* are deallocated only after red_channel_destroy is called and no RedChannelClient
|
||||
* refers to the channel.
|
||||
* RedChannelClient is created and destroyed by the calls to red_channel_client_create
|
||||
* RedChannelClient is created and destroyed by the calls to xxx_channel_client_new
|
||||
* and red_channel_client_destroy. RedChannelClient resources are deallocated only when
|
||||
* its refs == 0. The reference count of RedChannelClient can be increased by routines
|
||||
* that include calls that might destroy the red_channel_client. For example,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user