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

Christophe Fergeau cfergeau at redhat.com
Mon Jan 7 13:36:26 UTC 2019


On Mon, Jan 07, 2019 at 12:00:38PM +0400, marcandre.lureau at redhat.com wrote:
> From: Marc-André Lureau <marcandre.lureau at redhat.com>
> 
> Gtk+ shouldn't be used by spice-client-glib. GIO is enough.
> 
> Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
> ---
>  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 at redhat.com>

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20190107/9cbc5ea2/attachment.sig>


More information about the Spice-devel mailing list