char-device: Fix property name in red_char_device_new()

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"
This commit is contained in:
Christophe Fergeau 2016-04-05 17:19:54 +02:00
parent bbee12d2b8
commit 852a9824a1

View File

@ -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,