Re: [Spice-devel] [PATCH v3 2/2] Lower gtk+ requirement to 3.10

2016-03-22 Thread Jeremy White
On 03/22/2016 08:33 AM, Marc-André Lureau wrote: > Hi > > - Original Message - >> Hi, >> >>> diff --git a/src/spice-widget-egl.c b/src/spice-widget-egl.c >>> index 1b3cd07..a9bea52 100644 >>> --- a/src/spice-widget-egl.c >>> +++ b/src/spice-widget-egl.c >>> @@ -29,7 +29,9 @@ >>> #include

Re: [Spice-devel] [PATCH v3 2/2] Lower gtk+ requirement to 3.10

2016-03-22 Thread Marc-André Lureau
Hi - Original Message - > Hi, > > > diff --git a/src/spice-widget-egl.c b/src/spice-widget-egl.c > > index 1b3cd07..a9bea52 100644 > > --- a/src/spice-widget-egl.c > > +++ b/src/spice-widget-egl.c > > @@ -29,7 +29,9 @@ > > #include > > > > #include > > +#if GTK_CHECK_VERSION(3,16,0)

Re: [Spice-devel] [PATCH v3 2/2] Lower gtk+ requirement to 3.10

2016-03-21 Thread Jeremy White
Hi, > diff --git a/src/spice-widget-egl.c b/src/spice-widget-egl.c > index 1b3cd07..a9bea52 100644 > --- a/src/spice-widget-egl.c > +++ b/src/spice-widget-egl.c > @@ -29,7 +29,9 @@ > #include > > #include > +#if GTK_CHECK_VERSION(3,16,0) > #include > +#endif This breaks builds on Debian,

[Spice-devel] [PATCH v3 2/2] Lower gtk+ requirement to 3.10

2016-03-15 Thread Marc-André Lureau
Make GtkGlArea optional allows to lower gtk+ requirement to 3.10 (required for GtkStack). However, gl display is unsupported on wayland with gtk+ < 3.16. Signed-off-by: Marc-André Lureau --- configure.ac | 4 ++-- src/spice-widget-egl.c | 2 ++ src/spice-widget.c | 12 ++-