[Spice-devel] [PATCH spice-server v2 11/12] fixup! Convert RedClient to GObject

Jonathon Jongsma jjongsma at redhat.com
Wed Nov 2 15:49:15 UTC 2016


Personally, for lines that are this close to the length limit, I prefer
to just leave them on one line. But I won't argue either way.

Acked-by: Jonathon Jongsma <jjongsma at redhat.com>


On Tue, 2016-11-01 at 11:08 +0000, Frediano Ziglio wrote:
> Style.
> 
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  server/red-client.h | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/server/red-client.h b/server/red-client.h
> index 1bf5ab8..dfa94aa 100644
> --- a/server/red-client.h
> +++ b/server/red-client.h
> @@ -31,7 +31,8 @@ G_BEGIN_DECLS
>  #define RED_CLIENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
> RED_TYPE_CLIENT, RedClientClass))
>  #define RED_IS_CLIENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
> RED_TYPE_CLIENT))
>  #define RED_IS_CLIENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE
> ((klass), RED_TYPE_CLIENT))
> -#define RED_CLIENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),
> RED_TYPE_CLIENT, RedClientClass))
> +#define RED_CLIENT_GET_CLASS(obj) \
> +    (G_TYPE_INSTANCE_GET_CLASS ((obj), RED_TYPE_CLIENT,
> RedClientClass))
>  
>  typedef struct RedClient RedClient;
>  typedef struct RedClientClass RedClientClass;


More information about the Spice-devel mailing list