[Spice-devel] [PATCH spice-gtk] usb-device-manager: Avoid error when compiling with --disable-usbredir

Marc-André Lureau mlureau at redhat.com
Mon Jun 8 04:45:10 PDT 2015


ack

----- Original Message -----
> ---
>  gtk/usb-device-manager.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/gtk/usb-device-manager.c b/gtk/usb-device-manager.c
> index d700dcd..12ad4ba 100644
> --- a/gtk/usb-device-manager.c
> +++ b/gtk/usb-device-manager.c
> @@ -230,9 +230,9 @@ static gboolean
> spice_usb_device_manager_initable_init(GInitable  *initable,
>                                                         GCancellable
>                                                         *cancellable,
>                                                         GError        **err)
>  {
> +#ifdef USE_USBREDIR
>      SpiceUsbDeviceManager *self = SPICE_USB_DEVICE_MANAGER(initable);
>      SpiceUsbDeviceManagerPrivate *priv = self->priv;
> -#ifdef USE_USBREDIR
>      GList *list;
>      GList *it;
>      int rc;
> --
> 2.4.3
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
> 


More information about the Spice-devel mailing list