hal: Branch 'hal-0_5_9-branch'
David Zeuthen
david at kemper.freedesktop.org
Wed May 23 10:23:17 PDT 2007
fdi/policy/10osvendor/10-power-mgmt-policy.fdi | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
New commits:
diff-tree 51c47c02903a6847b2a2c1ed83cd7d5b50288236 (from 7b881b0ccd21697d49a637db2d5d2cef5f740a72)
Author: Danny Kukawka <danny.kukawka at web.de>
Date: Wed May 23 13:23:03 2007 -0400
fix return type of SetPowerSave()
The spec say about SetPowerSave() on the
org.freedesktop.Hal.Device.SystemPowerManagement interface the return
type should be integer, but in
fdi/policy/10osvendor/10-power-mgmt-policy.fdi the return value type
get specified as boolean.
This patch change the type to Integer as the spec say and the code
allow since it forward the retun value of the called tool to set the
mode.
diff --git a/fdi/policy/10osvendor/10-power-mgmt-policy.fdi b/fdi/policy/10osvendor/10-power-mgmt-policy.fdi
index ec5613f..b3760d5 100644
--- a/fdi/policy/10osvendor/10-power-mgmt-policy.fdi
+++ b/fdi/policy/10osvendor/10-power-mgmt-policy.fdi
@@ -52,7 +52,7 @@
<append key="org.freedesktop.Hal.Device.SystemPowerManagement.method_execpaths" type="strlist">hal-system-power-reboot</append>
<append key="org.freedesktop.Hal.Device.SystemPowerManagement.method_names" type="strlist">SetPowerSave</append>
- <append key="org.freedesktop.Hal.Device.SystemPowerManagement.method_signatures" type="strlist">b</append>
+ <append key="org.freedesktop.Hal.Device.SystemPowerManagement.method_signatures" type="strlist">i</append>
<append key="org.freedesktop.Hal.Device.SystemPowerManagement.method_argnames" type="strlist">enable_power_save</append>
<append key="org.freedesktop.Hal.Device.SystemPowerManagement.method_execpaths" type="strlist">hal-system-power-set-power-save</append>
More information about the hal-commit
mailing list