[gnome-boxes] spice-display: Remove a redundant workaround
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] spice-display: Remove a redundant workaround
- Date: Sat, 21 Feb 2015 18:22:27 +0000 (UTC)
commit d777fd24c6367999ce4421f0d62addfe1508ae80
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Fri Feb 20 14:41:12 2015 +0000
spice-display: Remove a redundant workaround
We don't need to work around issues of spice-gtk 0.18 when we depend on
0.27 already.
src/spice-display.vala | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/src/spice-display.vala b/src/spice-display.vala
index 71c43e8..f0f9e8f 100644
--- a/src/spice-display.vala
+++ b/src/spice-display.vala
@@ -340,14 +340,7 @@ private class Boxes.SpiceDisplay: Boxes.Display {
usb_property.refresh_properties ();
});
manager.device_removed.connect ((manager, dev) => {
- Idle.add (() => {
- // FIXME: This is done in an idle to workaround a bug in spice-gtk 0.18 where calling
- // UsbDeviceManager.get_devices() from the "device-removed" signal callback will
- // return a list of devices which still contains the removed device.
- // This is fixed in spice-gtk by 09124ecc50.
- usb_property.refresh_properties ();
- return false;
- });
+ usb_property.refresh_properties ();
});
} catch (GLib.Error error) {
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]