[Spice-devel] [PATCH spice-gtk 3/4] Give a hint about spice_usb_device_manager_disconnect_device() deprecation

marcandre.lureau at redhat.com marcandre.lureau at redhat.com
Fri Jan 27 11:17:45 UTC 2017


From: Marc-André Lureau <marcandre.lureau at redhat.com>

Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
---
 src/usb-device-manager.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/usb-device-manager.h b/src/usb-device-manager.h
index 219fe44..0376e49 100644
--- a/src/usb-device-manager.h
+++ b/src/usb-device-manager.h
@@ -131,7 +131,7 @@ gboolean spice_usb_device_manager_disconnect_device_finish(
     SpiceUsbDeviceManager *self, GAsyncResult *res, GError **err);
 
 #ifndef SPICE_DISABLE_DEPRECATED
-SPICE_GNUC_DEPRECATED
+SPICE_DEPRECATED_FOR(spice_usb_device_manager_connect_device_async)
 void spice_usb_device_manager_disconnect_device(SpiceUsbDeviceManager *manager,
                                                 SpiceUsbDevice *device);
 #endif
-- 
2.11.0.295.gd7dffce1c.dirty



More information about the Spice-devel mailing list