[Spice-devel] [PATCH spice-gtk] Include gdk/gdkwayland.h anytime GDK_WINDOWING_WAYLAND is defined.

Marc-André Lureau marcandre.lureau at gmail.com
Tue Mar 22 14:17:42 UTC 2016


ack and pushed

On Tue, Mar 22, 2016 at 3:14 PM, Jeremy White <jwhite at codeweavers.com> wrote:
> A specific GTK version check is not appropriate for this particular include.
> This fixes compilation on Debian Jessie.
>
> Signed-off-by: Jeremy White <jwhite at codeweavers.com>
> ---
>  src/spice-widget-egl.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/spice-widget-egl.c b/src/spice-widget-egl.c
> index a9bea52..883983e 100644
> --- a/src/spice-widget-egl.c
> +++ b/src/spice-widget-egl.c
> @@ -29,7 +29,7 @@
>  #include <libdrm/drm_fourcc.h>
>
>  #include <gdk/gdkx.h>
> -#if GTK_CHECK_VERSION(3,16,0)
> +#ifdef GDK_WINDOWING_WAYLAND
>  #include <gdk/gdkwayland.h>
>  #endif
>
> --
> 2.1.4
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel



-- 
Marc-André Lureau


More information about the Spice-devel mailing list