[Spice-devel] [spice-gtk] channel-main: Fix 'capabilties' typo

Frediano Ziglio fziglio at redhat.com
Tue May 24 16:42:50 UTC 2016


> 
> This was mispelt in a static function name.
> ---
>  src/channel-main.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/src/channel-main.c b/src/channel-main.c
> index dec5d73..94ece97 100644
> --- a/src/channel-main.c
> +++ b/src/channel-main.c
> @@ -274,7 +274,7 @@ static gboolean test_agent_cap(SpiceMainChannel *channel,
> guint32 cap)
>      return VD_AGENT_HAS_CAPABILITY(c->agent_caps,
>      G_N_ELEMENTS(c->agent_caps), cap);
>  }
>  
> -static void spice_main_channel_reset_capabilties(SpiceChannel *channel)
> +static void spice_main_channel_reset_capabilities(SpiceChannel *channel)
>  {
>      spice_channel_set_capability(SPICE_CHANNEL(channel),
>      SPICE_MAIN_CAP_SEMI_SEAMLESS_MIGRATE);
>      spice_channel_set_capability(SPICE_CHANNEL(channel),
>      SPICE_MAIN_CAP_NAME_AND_UUID);
> @@ -294,7 +294,7 @@ static void spice_main_channel_init(SpiceMainChannel
> *channel)
>                                          g_object_unref);
>      c->cancellable_volume_info = g_cancellable_new();
>  
> -    spice_main_channel_reset_capabilties(SPICE_CHANNEL(channel));
> +    spice_main_channel_reset_capabilities(SPICE_CHANNEL(channel));
>      c->requested_mouse_mode = SPICE_MOUSE_MODE_CLIENT;
>  }
>  
> @@ -513,7 +513,7 @@ static void
> spice_main_channel_class_init(SpiceMainChannelClass *klass)
>      channel_class->handle_msg    = spice_main_handle_msg;
>      channel_class->iterate_write = spice_channel_iterate_write;
>      channel_class->channel_reset = spice_main_channel_reset;
> -    channel_class->channel_reset_capabilities =
> spice_main_channel_reset_capabilties;
> +    channel_class->channel_reset_capabilities =
> spice_main_channel_reset_capabilities;
>      channel_class->channel_send_migration_handshake =
>      spice_main_channel_send_migration_handshake;
>  
>      /**

Acked-by: Frediano Ziglio <fziglio at redhat.com>

Frediano


More information about the Spice-devel mailing list