[Spice-devel] [PATCH v7 14/14] UsbDeviceManager: Deprecate synchronous disconnection method
Jonathon Jongsma
jjongsma at redhat.com
Thu Mar 10 20:26:34 UTC 2016
Acked-by: Jonathon Jongsma <jjongsma at redhat.com>
On Tue, 2016-03-08 at 16:06 +0200, Dmitry Fleytman wrote:
> From: Dmitry Fleytman <dfleytma at redhat.com>
>
> Asynchronous disconnection should be used instead.
>
> Signed-off-by: Dmitry Fleytman <dfleytma at redhat.com>
> ---
> src/usb-device-manager.h | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/src/usb-device-manager.h b/src/usb-device-manager.h
> index a9a4f7a..6a8d0ac 100644
> --- a/src/usb-device-manager.h
> +++ b/src/usb-device-manager.h
> @@ -130,8 +130,11 @@ gboolean spice_usb_device_manager_connect_device_finish(
> gboolean spice_usb_device_manager_disconnect_device_finish(
> SpiceUsbDeviceManager *self, GAsyncResult *res, GError **err);
>
> +#ifndef SPICE_DISABLE_DEPRECATED
> +SPICE_DEPRECATED
> void spice_usb_device_manager_disconnect_device(SpiceUsbDeviceManager
> *manager,
> SpiceUsbDevice *device);
> +#endif
>
> gboolean
> spice_usb_device_manager_can_redirect_device(SpiceUsbDeviceManager *self,
More information about the Spice-devel
mailing list