From d7c6d0e8da3a99553788ba3cf05eee03b79965b9 Mon Sep 17 00:00:00 2001 From: Sascha Silbe Date: Tue, 22 May 2012 21:11:07 +0200 Subject: [PATCH] Drop 'type' parameter from CancelRequest() signature CancelRequest() never worked because the method signature in D-Bus introspection data didn't match the actual function signature. Since the 'type' parameter isn't needed by the implementation (cookies are unique across all requests, not just requests of a certain type), we drop it from the public API. This makes it easier for clients to use the API as they only have to remember the cookie, not both cookie and type. Since it never worked in the first place, there are no backwards compatibility issues. Signed-off-by: Richard Hughes --- src/org.freedesktop.UPower.QoS.xml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/org.freedesktop.UPower.QoS.xml b/src/org.freedesktop.UPower.QoS.xml index 8e69f8a..400a0fc 100644 --- a/src/org.freedesktop.UPower.QoS.xml +++ b/src/org.freedesktop.UPower.QoS.xml @@ -164,14 +164,6 @@ - - - - The type of latency to control, cpu_dma or - network. - - -