Re: [PATCH spice-gtk 09/34] win-usb-dev: don't include gtk, but gio header

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

 



On Mon, Jan 07, 2019 at 12:00:38PM +0400, marcandre.lureau@xxxxxxxxxx wrote:
> From: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx>
> 
> Gtk+ shouldn't be used by spice-client-glib. GIO is enough.
> 
> Signed-off-by: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx>
> ---
>  src/win-usb-dev.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/win-usb-dev.h b/src/win-usb-dev.h
> index b5c4fce..7f40197 100644
> --- a/src/win-usb-dev.h
> +++ b/src/win-usb-dev.h
> @@ -22,7 +22,7 @@
>  #ifndef __WIN_USB_DEV_H__
>  #define __WIN_USB_DEV_H__
>  
> -#include <gtk/gtk.h>
> +#include <gio/gio.h>

The .h even only needs glib-object.h, it's the .c file which is going to
need gio/gio.h

Reviewed-by: Christophe Fergeau <cfergeau@xxxxxxxxxx>

Christophe

Attachment: signature.asc
Description: PGP signature

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

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