hal: Branch 'master'

David Zeuthen david at kemper.freedesktop.org
Wed May 23 10:23:01 PDT 2007


 fdi/policy/10osvendor/10-power-mgmt-policy.fdi |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

New commits:
diff-tree 60331db08e98a61ced21273381ed076b4cc252f3 (from 198d462af5ea36a374954e9975277014b1374093)
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