Re: [Spice-devel] [PATCH 08/16] char device: use _reset_dev_instance() to set 'sin'

2016-04-20 Thread Frediano Ziglio
> > Internally, use the method to set the 'sin' member variable so that we > don't have to duplicate the g_object_notify() calls, and there are > consistent debug statements whenever this value is modified. This also > means that we need to handle NULL arguments to this function. > --- > server/c

[Spice-devel] [PATCH 08/16] char device: use _reset_dev_instance() to set 'sin'

2016-04-19 Thread Jonathon Jongsma
Internally, use the method to set the 'sin' member variable so that we don't have to duplicate the g_object_notify() calls, and there are consistent debug statements whenever this value is modified. This also means that we need to handle NULL arguments to this function. --- server/char-device.c |