[Spice-devel] [PATCH spice-gtk 04/14] win-usb: add uninstall_finish()

Marc-André Lureau marcandre.lureau at gmail.com
Wed Apr 23 11:09:09 PDT 2014


---
 gtk/win-usb-driver-install.c | 7 +++++++
 gtk/win-usb-driver-install.h | 4 ++++
 2 files changed, 11 insertions(+)

diff --git a/gtk/win-usb-driver-install.c b/gtk/win-usb-driver-install.c
index bdc2372..c3a7ace 100644
--- a/gtk/win-usb-driver-install.c
+++ b/gtk/win-usb-driver-install.c
@@ -388,6 +388,13 @@ gint spice_win_usb_driver_install_finish(SpiceWinUsbDriver *self,
 }
 
 G_GNUC_INTERNAL
+gint spice_win_usb_driver_uninstall_finish(SpiceWinUsbDriver *self,
+                                           GAsyncResult *res, GError **err)
+{
+    return spice_win_usb_driver_op_finish(self, res, err);
+}
+
+G_GNUC_INTERNAL
 SpiceUsbDevice *spice_win_usb_driver_get_device(SpiceWinUsbDriver *self)
 {
     g_return_val_if_fail(SPICE_IS_WIN_USB_DRIVER(self), 0);
diff --git a/gtk/win-usb-driver-install.h b/gtk/win-usb-driver-install.h
index b3ca4bf..bac41f1 100644
--- a/gtk/win-usb-driver-install.h
+++ b/gtk/win-usb-driver-install.h
@@ -77,6 +77,10 @@ void spice_win_usb_driver_uninstall_async(SpiceWinUsbDriver *self,
                                           GCancellable *cancellable,
                                           GAsyncReadyCallback callback,
                                           gpointer user_data);
+gint spice_win_usb_driver_uninstall_finish(SpiceWinUsbDriver *self,
+                                           GAsyncResult *res, GError **err);
+
+
 
 SpiceUsbDevice *spice_win_usb_driver_get_device(SpiceWinUsbDriver *self);
 
-- 
1.8.5.3



More information about the Spice-devel mailing list