modules: use the same name for the module_info in all modules

This commit is contained in:
Daniel Eklöf 2019-01-12 20:34:43 +01:00
parent 45eb2b85f0
commit 7f2501334d
12 changed files with 12 additions and 16 deletions

View file

@ -108,7 +108,7 @@ from_conf(const struct yml_node *node, const struct font *parent_font)
time_format != NULL ? yml_value_as_string(time_format) : "%H:%M");
}
const struct module_info module_clock = {
const struct module_info module_info = {
.from_conf = &from_conf,
.attr_count = 4,
.attrs = {