> > --- > src/usb-device-manager.c | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/src/usb-device-manager.c b/src/usb-device-manager.c > index 66f0eb5..1c4c2af 100644 > --- a/src/usb-device-manager.c > +++ b/src/usb-device-manager.c > @@ -1609,6 +1609,20 @@ void _disconnect_device_async_cb(GObject *gobject, > } > #endif > > +/** > + * spice_usb_device_manager_disconnect_device_async: > + * @manager: the #SpiceUsbDeviceManager manager. shouldn'd be @self ? > + * @device: a connected #SpiceUsbDevice to disconnect. > + * @cancellable: (nullable): optional #GCancellable object, %NULL to ignore. > + * @callback: (scope async): a #GAsyncReadyCallback to call when the request > is satisfied. > + * @user_data: (closure): the data to pass to @callback. > + * > + * Asynchronously disconnects the @device. When completed, @callback will be > called. > + * Then it is possible to call > spice_usb_device_manager_disconnect_device_finish() > + * to get the result of the operation. > + * > + * Since: 0.32 > + */ > void spice_usb_device_manager_disconnect_device_async(SpiceUsbDeviceManager > *self, > SpiceUsbDevice > *device, > GCancellable > *cancellable, Frediano _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel