[Spice-devel] [spice-server] char-device: Fix property name in red_char_device_new()

Jonathon Jongsma jjongsma at redhat.com
Tue Apr 5 17:09:55 UTC 2016


On Tue, 2016-04-05 at 17:31 +0200, Christophe Fergeau wrote:
> This method will be removed in a subsequent commit, but for now it's
> causing breakage since it's setting "reds" instead of "spice-server"
> ---
>  server/char-device.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/server/char-device.c b/server/char-device.c
> index f492657..bd2737f 100644
> --- a/server/char-device.c
> +++ b/server/char-device.c
> @@ -1265,7 +1265,7 @@ red_char_device_new(SpiceCharDeviceInstance *sin,
>  
>      char_dev = g_object_new(RED_TYPE_CHAR_DEVICE,
>                              "sin", sin,
> -                            "reds", reds,
> +                            "spice-server", reds,
>                              "client-tokens-interval", (guint64)
> client_tokens_interval,
>                              "self-tokens", (guint64) self_tokens,
>                              "opaque", opaque,


Acked-by: Jonathon Jongsma <jjongsma at redhat.com>


More information about the Spice-devel mailing list