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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ack and pushed

On Tue, Mar 22, 2016 at 3:14 PM, Jeremy White <jwhite@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx>
> ---
>  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@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/spice-devel



-- 
Marc-André Lureau
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]