Re: [Spice-devel] [PATCH spice-server] Move channel registration to constructed vfunc

2019-02-20 Thread Jonathon Jongsma
On Wed, 2019-02-20 at 07:08 -0500, Frediano Ziglio wrote: > > > > For the Display Channel and the Cursor channel, move the call to > > reds_register_channel() to the _constructed() vfunc rather than > > calling > > it explicitly from RedWorker. This matches what other channels do. > > I think thi

Re: [Spice-devel] [PATCH spice-server] Move channel registration to constructed vfunc

2019-02-20 Thread Jonathon Jongsma
On Wed, 2019-02-20 at 07:08 -0500, Frediano Ziglio wrote: > > > > For the Display Channel and the Cursor channel, move the call to > > reds_register_channel() to the _constructed() vfunc rather than > > calling > > it explicitly from RedWorker. This matches what other channels do. > > I think thi

Re: [Spice-devel] [PATCH spice-server] Move channel registration to constructed vfunc

2019-02-20 Thread Frediano Ziglio
> > For the Display Channel and the Cursor channel, move the call to > reds_register_channel() to the _constructed() vfunc rather than calling > it explicitly from RedWorker. This matches what other channels do. I think this was different for these channels as they where created in a different th

[Spice-devel] [PATCH spice-server] Move channel registration to constructed vfunc

2019-02-19 Thread Jonathon Jongsma
For the Display Channel and the Cursor channel, move the call to reds_register_channel() to the _constructed() vfunc rather than calling it explicitly from RedWorker. This matches what other channels do. --- server/cursor-channel.c | 12 server/display-channel.c | 2 ++ server/red-w