Re: [Spice-devel] [PATCH] RedChannelClient: use Gobject properties

2016-11-07 Thread Jonathon Jongsma
On Mon, 2016-11-07 at 12:16 -0500, Frediano Ziglio wrote: > > > > > > On Fri, Nov 04, 2016 at 11:19:22AM -0500, Jonathon Jongsma wrote: > > > > > > Use g_param_spec_object() instead of g_param_spec_pointer() for > > > the > > > 'client' and 'channel' properties now that these types are > > > GOb

Re: [Spice-devel] [PATCH] RedChannelClient: use Gobject properties

2016-11-07 Thread Frediano Ziglio
> > On Fri, Nov 04, 2016 at 11:19:22AM -0500, Jonathon Jongsma wrote: > > Use g_param_spec_object() instead of g_param_spec_pointer() for the > > 'client' and 'channel' properties now that these types are GObjects. > > This improves refcounting and typesafety slightly. > > --- > > server/red-chan

Re: [Spice-devel] [PATCH] RedChannelClient: use Gobject properties

2016-11-07 Thread Christophe Fergeau
On Fri, Nov 04, 2016 at 11:19:22AM -0500, Jonathon Jongsma wrote: > Use g_param_spec_object() instead of g_param_spec_pointer() for the > 'client' and 'channel' properties now that these types are GObjects. > This improves refcounting and typesafety slightly. > --- > server/red-channel-client.c |

[Spice-devel] [PATCH] RedChannelClient: use Gobject properties

2016-11-04 Thread Jonathon Jongsma
Use g_param_spec_object() instead of g_param_spec_pointer() for the 'client' and 'channel' properties now that these types are GObjects. This improves refcounting and typesafety slightly. --- server/red-channel-client.c | 32 1 file changed, 16 insertions(+), 16 de