summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2016-04-05 17:19:54 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2016-04-06 10:30:00 +0200
commit852a9824a1a9643f15f0f4134d49aeca85e1cbbb (patch)
treead23587ca11d057e0bad13a9b8a8ce38385b71ba /server
parentbbee12d2b8494277f45fc545cfff90d954ae16a3 (diff)
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"
Diffstat (limited to 'server')
-rw-r--r--server/char-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/char-device.c b/server/char-device.c
index f4926578..bd2737fe 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,