summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2008-08-04 16:51:30 +0100
committerRichard Hughes <richard@hughsie.com>2008-08-04 16:51:30 +0100
commit50cadd86229fb5cbd681d259b9b6e5323b251337 (patch)
treee614b8c19738bfcc05e0674a1c16d5b650e7fdbf
parent9f171a14ef6b27fe1a458ded143684dc6e988886 (diff)
downloadupower-50cadd86229fb5cbd681d259b9b6e5323b251337.tar.gz
correct the signature of GetOnBattery and GetLowbattery
-rw-r--r--src/org.freedesktop.DeviceKit.Power.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org.freedesktop.DeviceKit.Power.xml b/src/org.freedesktop.DeviceKit.Power.xml
index 48a96e2..8f9fa25 100644
--- a/src/org.freedesktop.DeviceKit.Power.xml
+++ b/src/org.freedesktop.DeviceKit.Power.xml
@@ -103,7 +103,7 @@
<!-- ************************************************************ -->
<method name="GetOnBattery">
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg name="on_battery" type="b">
+ <arg name="on_battery" direction="out" type="b">
<doc:doc><doc:summary>If we are on battery power.</doc:summary></doc:doc>
</arg>
<doc:doc>
@@ -119,7 +119,7 @@
<!-- ************************************************************ -->
<method name="GetLowBattery">
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg name="low_battery" type="b">
+ <arg name="low_battery" direction="out" type="b">
<doc:doc><doc:summary>If we are critically low on battery power.</doc:summary></doc:doc>
</arg>
<doc:doc>