[Spice-devel] [PATCH spice-gtk] usb-device-manager: fix compilation error when usbredir is disabled
Hans de Goede
hdegoede at redhat.com
Tue Aug 6 15:32:44 PDT 2013
ACK.
On 08/06/2013 10:29 PM, Yonit Halperin wrote:
> ---
> 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 0535609..71d3462 100644
> --- a/gtk/usb-device-manager.c
> +++ b/gtk/usb-device-manager.c
> @@ -329,10 +329,10 @@ static gboolean spice_usb_device_manager_initable_init(GInitable *initable,
>
> static void spice_usb_device_manager_dispose(GObject *gobject)
> {
> +#ifdef USE_USBREDIR
> SpiceUsbDeviceManager *self = SPICE_USB_DEVICE_MANAGER(gobject);
> SpiceUsbDeviceManagerPrivate *priv = self->priv;
>
> -#ifdef USE_USBREDIR
> #ifdef USE_LIBUSB_HOTPLUG
> if (priv->hp_handle) {
> spice_usb_device_manager_stop_event_listening(self);
>
More information about the Spice-devel
mailing list