settings: remove _get_{boolean|int|float|string}() APIs
They is really no needed with the new _get() API and the WpSpaJson API. In C, users can use 'wp_spa_json_parse_{boolean|int|float|string}()' APIs to parse the WpSpaJson. In Lua, users can just do 'Settings.get(setting, m):parse()'.
This commit is contained in:
@@ -16,7 +16,7 @@ function configProperties (node)
|
||||
["item.node"] = node,
|
||||
["item.plugged.usec"] = GLib.get_monotonic_time (),
|
||||
["item.features.no-dsp"] =
|
||||
Settings.get_boolean ("default-policy-audio.no-dsp"),
|
||||
Settings.get ("default-policy-audio.no-dsp"):parse(),
|
||||
["item.features.monitor"] = true,
|
||||
["item.features.control-port"] = false,
|
||||
["node.id"] = node ["bound-id"],
|
||||
|
Reference in New Issue
Block a user