forked from external/yambar
modules: move 'content' and 'anchors' to MODULE_COMMON_ATTRS
All modules implement these. The only one that differs is the i3 module. It still implements them, but 'content' uses an internal verifier function.
This commit is contained in:
parent
36e5dc0df8
commit
86522d653d
13 changed files with 3 additions and 23 deletions
|
@ -664,8 +664,6 @@ static bool
|
|||
verify_conf(keychain_t *chain, const struct yml_node *node)
|
||||
{
|
||||
static const struct attr_info attrs[] = {
|
||||
{"content", true, &conf_verify_particle},
|
||||
{"anchors", false, NULL},
|
||||
MODULE_COMMON_ATTRS,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue