[Spice-devel] [PATCH spice-gtk 00/14] USB fail early on win32 without usbclerk v2
Marc-André Lureau
marcandre.lureau at gmail.com
Thu Apr 24 08:50:48 PDT 2014
Hi,
Here is a small series, of little cleanups, and of goal to throw early
an error when the win32 usbclerk can't be reached. In turn, the error
can be catched by client code to show a useful dialog.
In v2:
- fixes after Jonathon Jongsma review
Marc-André Lureau (14):
usb: remove useless declaration
win-usb: introduce a spice_win_usb_driver_op_finish
win-usb: rename async functions
usb: use win-usb uninstall_finish()
win-usb: throw an error if reply.status == 0
win-usb: get rid of status code return in async ops
usb: remove useless device ref/unref
usb: remove useless assignment
usb: use SPICE_CLIENT_ERROR_ prefix
usb: call win_usb_driver_new() during initable_init()
usb: misc code formatting
win-usb: remove useless function
usb: do not return GError on programmer pre-condition checks
win-usb: try to connect to usbclerk during init
gtk/channel-usbredir.c | 4 +-
gtk/spice-client.h | 13 +++-
gtk/usb-device-manager.c | 127 ++++++++++++++++-----------------------
gtk/win-usb-driver-install.c | 140 ++++++++++++++++++++++++++-----------------
gtk/win-usb-driver-install.h | 28 +++++----
5 files changed, 162 insertions(+), 150 deletions(-)
--
1.8.5.3
More information about the Spice-devel
mailing list