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

Pavel Grunt pgrunt at kemper.freedesktop.org
Mon Jun 8 05:19:30 PDT 2015


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

New commits:
commit 087d10aad9a9727c5a97764be1b456cd6e1737d8
Author: Pavel Grunt <pgrunt at redhat.com>
Date:   Mon Jun 8 13:37:04 2015 +0200

    usb-device-manager: Avoid error when compiling with --disable-usbredir

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;


More information about the Spice-commits mailing list