Re: [Spice-devel] [PATCH spice-server v2 1/2] Introduce some macros to help declaring new GObject

2017-09-18 Thread Frediano Ziglio
ping I'd like to have at least this in (without 2/2) to help declare some new object. > > The macros will implement most of the boilerplate needed > to declare an object. > Their usage are similar to GLib G_DECLARE_*_TYPE macros. > > Signed-off-by: Frediano Ziglio > --- >

Re: [Spice-devel] [PATCH spice-server v2 1/2] Introduce some macros to help declaring new GObject

2017-09-08 Thread Frediano Ziglio
> > > > > On Thu, Sep 07, 2017 at 03:58:21AM -0400, Frediano Ziglio wrote: > > > > > > > > On Wed, Sep 06, 2017 at 03:42:29PM +0100, Frediano Ziglio wrote: > > > > > The macros will implement most of the boilerplate needed > > > > > to declare an object. > > > > > Their usage are similar to

Re: [Spice-devel] [PATCH spice-server v2 1/2] Introduce some macros to help declaring new GObject

2017-09-07 Thread Frediano Ziglio
> > On Thu, Sep 07, 2017 at 03:58:21AM -0400, Frediano Ziglio wrote: > > > > > > On Wed, Sep 06, 2017 at 03:42:29PM +0100, Frediano Ziglio wrote: > > > > The macros will implement most of the boilerplate needed > > > > to declare an object. > > > > Their usage are similar to GLib

Re: [Spice-devel] [PATCH spice-server v2 1/2] Introduce some macros to help declaring new GObject

2017-09-07 Thread Christophe Fergeau
On Thu, Sep 07, 2017 at 03:58:21AM -0400, Frediano Ziglio wrote: > > > > On Wed, Sep 06, 2017 at 03:42:29PM +0100, Frediano Ziglio wrote: > > > The macros will implement most of the boilerplate needed > > > to declare an object. > > > Their usage are similar to GLib G_DECLARE_*_TYPE macros. > >

Re: [Spice-devel] [PATCH spice-server v2 1/2] Introduce some macros to help declaring new GObject

2017-09-07 Thread Frediano Ziglio
> > On Wed, Sep 06, 2017 at 03:42:29PM +0100, Frediano Ziglio wrote: > > The macros will implement most of the boilerplate needed > > to declare an object. > > Their usage are similar to GLib G_DECLARE_*_TYPE macros. > > Can we/should we use the GLib provided macros when they are available, >

Re: [Spice-devel] [PATCH spice-server v2 1/2] Introduce some macros to help declaring new GObject

2017-09-07 Thread Christophe Fergeau
On Wed, Sep 06, 2017 at 03:42:29PM +0100, Frediano Ziglio wrote: > The macros will implement most of the boilerplate needed > to declare an object. > Their usage are similar to GLib G_DECLARE_*_TYPE macros. Can we/should we use the GLib provided macros when they are available, and copy/paste the

[Spice-devel] [PATCH spice-server v2 1/2] Introduce some macros to help declaring new GObject

2017-09-06 Thread Frediano Ziglio
The macros will implement most of the boilerplate needed to declare an object. Their usage are similar to GLib G_DECLARE_*_TYPE macros. Signed-off-by: Frediano Ziglio --- Changes since v1: - use SPICE_ prefix instead of GOBJECT_; - if RED_ prefix is used use this prefix for