Re: [Spice-devel] [PATCH v2] Limit maximum "n-surfaces" via param spec

2016-11-01 Thread Frediano Ziglio
> > In commit beec1b41, we manually limited this property value in > _set_property(). But there's a simpler way to do it: via the param spec > for the property. > > This also means that we can remove the warning log in red_worker_new() > since GObject will automatically warn if a property is assi

[Spice-devel] [PATCH v2] Limit maximum "n-surfaces" via param spec

2016-10-31 Thread Jonathon Jongsma
In commit beec1b41, we manually limited this property value in _set_property(). But there's a simpler way to do it: via the param spec for the property. This also means that we can remove the warning log in red_worker_new() since GObject will automatically warn if a property is assigned a value ou