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

Christophe Fergeau cfergeau at redhat.com
Tue Apr 5 15:31:23 UTC 2016


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



More information about the Spice-devel mailing list