[Spice-devel] [PATCH spice-gtk 4/5] doc: Describe spice_usb_device_manager_disconnect_device_async
Pavel Grunt
pgrunt at redhat.com
Wed May 10 10:43:46 UTC 2017
On Wed, 2017-05-10 at 05:55 -0400, Frediano Ziglio wrote:
> >
> > ---
> > 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 ?
sure, thanks
>
> > + * @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(SpiceUsbDeviceMan
> > ager
> > *self,
> > SpiceUsbDev
> > ice
> > *device,
> > GCancellabl
> > e
> > *cancellabl
> > e,
>
> Frediano
More information about the Spice-devel
mailing list