--- 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); -- 1.8.1.4 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel