summaryrefslogtreecommitdiff
path: root/vapi
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2011-11-16 09:23:37 +0100
committerHans de Goede <hdegoede@redhat.com>2011-11-16 17:06:56 +0100
commit47d7c79be52f23b663e48af4eaeaba32dc486c43 (patch)
tree40edacf90c173d81a027596bc3f8a5975b62ba51 /vapi
parent40dee564a03da47cb301067e19ee9f16c8c92175 (diff)
usb-device-manager: Make spice_usb_device_manager_connect_device async
With the (upcoming) introduction of the usb device node acl helper, which uses policykit, spice_usbredir_channel_connect() may take a long time as it will be waiting for the helper, which will be waiting for policykit which may be interacting with the user. So spice_usbredir_channel_connect() will need to become async, and since spice_usb_device_manager_connect_device calls spice_usbredir_channel_connect it thus also needs to become async. Note that this patch only changes spice_usb_device_manager_connect_device's API to use the standard GIO async API, it is not actually async after this patch since spice_usbredir_channel_connect is not yet async. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'vapi')
-rw-r--r--vapi/Makefile.am1
-rw-r--r--vapi/spice-client-glib-2.0.deps1
2 files changed, 2 insertions, 0 deletions
diff --git a/vapi/Makefile.am b/vapi/Makefile.am
index 87ffb8a..49f8509 100644
--- a/vapi/Makefile.am
+++ b/vapi/Makefile.am
@@ -4,6 +4,7 @@ if WITH_VALA
vapidir = $(datadir)/vala/vapi
vapi_DATA = \
spice-client-glib-2.0.vapi \
+ spice-client-glib-2.0.deps \
spice-client-gtk-$(SPICE_GTK_API_VERSION).deps \
spice-client-gtk-$(SPICE_GTK_API_VERSION).vapi \
$(NULL)
diff --git a/vapi/spice-client-glib-2.0.deps b/vapi/spice-client-glib-2.0.deps
new file mode 100644
index 0000000..cd10dfd
--- /dev/null
+++ b/vapi/spice-client-glib-2.0.deps
@@ -0,0 +1 @@
+gio-2.0