[Spice-commits] gtk/usb-device-manager.c

Yonit Halperin yhalperi at kemper.freedesktop.org
Wed Aug 7 05:47:59 PDT 2013


 gtk/usb-device-manager.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 24de09c750f960090ed5ce07b8781fc1c56a375f
Author: Yonit Halperin <yhalperi at redhat.com>
Date:   Tue Aug 6 16:27:05 2013 -0400

    usb-device-manager: fix compilation error when usbredir is disabled

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-commits mailing list