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
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)
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,
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 ++-