Re: [Spice-devel] [spice-server 2/8] Move RedChannel::data to ClientCbs::cbs_data

2016-03-25 Thread Christophe Fergeau
On Thu, Mar 24, 2016 at 12:21:05PM -0400, Frediano Ziglio wrote: > > > > On Tue, Mar 15, 2016 at 05:11:36PM -0400, Frediano Ziglio wrote: > > > > -static void red_channel_client_default_disconnect(RedChannelClient > > > > *base) > > > > +static void red_channel_client_default_disconnect(RedChannel

Re: [Spice-devel] [spice-server 2/8] Move RedChannel::data to ClientCbs::cbs_data

2016-03-24 Thread Frediano Ziglio
> > On Tue, Mar 15, 2016 at 05:11:36PM -0400, Frediano Ziglio wrote: > > > -static void red_channel_client_default_disconnect(RedChannelClient > > > *base) > > > +static void red_channel_client_default_disconnect(RedChannelClient > > > *base, > > > gpointer cbs_data) > > > { > > > red_channe

Re: [Spice-devel] [spice-server 2/8] Move RedChannel::data to ClientCbs::cbs_data

2016-03-16 Thread Christophe Fergeau
On Tue, Mar 15, 2016 at 05:11:36PM -0400, Frediano Ziglio wrote: > > -static void red_channel_client_default_disconnect(RedChannelClient *base) > > +static void red_channel_client_default_disconnect(RedChannelClient *base, > > gpointer cbs_data) > > { > > red_channel_client_disconnect(base);

Re: [Spice-devel] [spice-server 2/8] Move RedChannel::data to ClientCbs::cbs_data

2016-03-15 Thread Frediano Ziglio
> > It's only used by these callbacks, moving it there makes things clearer > about its intended use. > --- > server/inputs-channel.c | 5 +++-- > server/main-channel.c | 2 +- > server/red-channel.c| 24 +--- > server/red-channel.h| 9 - > server/red-qxl.

[Spice-devel] [spice-server 2/8] Move RedChannel::data to ClientCbs::cbs_data

2016-03-14 Thread Christophe Fergeau
It's only used by these callbacks, moving it there makes things clearer about its intended use. --- server/inputs-channel.c | 5 +++-- server/main-channel.c | 2 +- server/red-channel.c| 24 +--- server/red-channel.h| 9 - server/red-qxl.c| 25 +