Commit Graph

3 Commits

Author SHA1 Message Date
Hans de Goede
47d7c79be5 usb-device-manager: Make spice_usb_device_manager_connect_device async
With the (upcoming) introduction of the usb device node acl helper, which
uses policykit, spice_usbredir_channel_connect() may take a long time as
it will be waiting for the helper, which will be waiting for policykit which
may be interacting with the user. So spice_usbredir_channel_connect() will
need to become async, and since spice_usb_device_manager_connect_device
calls spice_usbredir_channel_connect it thus also needs to become async.

Note that this patch only changes spice_usb_device_manager_connect_device's
API to use the standard GIO async API, it is not actually async after this
patch since spice_usbredir_channel_connect is not yet async.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2011-11-16 17:06:56 +01:00
Marc-André Lureau
ef76f18e5b Fix package `SpiceClientGLib-2.0' not found 2011-11-03 13:35:48 +01:00
Marc-André Lureau
5964ea17b0 Add vapi bindings generation 2011-10-25 21:57:13 +02:00