summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Silbe <silbe@activitycentral.com>2012-05-22 21:11:07 +0200
committerRichard Hughes <richard@hughsie.com>2012-05-30 16:19:27 +0100
commitd7c6d0e8da3a99553788ba3cf05eee03b79965b9 (patch)
tree09a452ce797fdf3e204834d75cb45ac9172ed4b1
parent79c11814cd9392ae928a7352f496dbe7a0aacd67 (diff)
downloadupower-d7c6d0e8da3a99553788ba3cf05eee03b79965b9.tar.gz
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 <richard@hughsie.com>
-rw-r--r--src/org.freedesktop.UPower.QoS.xml8
1 files changed, 0 insertions, 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 @@
<!-- ************************************************************ -->
<method name="CancelRequest">
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg name="type" direction="in" type="s">
- <doc:doc>
- <doc:summary>
- The type of latency to control, <doc:tt>cpu_dma</doc:tt> or
- <doc:tt>network</doc:tt>.
- </doc:summary>
- </doc:doc>
- </arg>
<arg name="cookie" direction="in" type="u">
<doc:doc>
<doc:summary>