mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-18 08:45:39 +02:00
tag: all tag constructors must now be passed a module 'owner'
This commit is contained in:
parent
8d94202057
commit
904f9ff8e1
9 changed files with 58 additions and 42 deletions
|
@ -272,8 +272,9 @@ content(struct module *mod)
|
|||
mtx_lock(&mod->lock);
|
||||
struct tag_set tags = {
|
||||
.tags = (struct tag *[]){
|
||||
tag_new_string("application", m->application ? m->application : ""),
|
||||
tag_new_string("title", m->title ? m->title : "")},
|
||||
tag_new_string(mod, "application", m->application),
|
||||
tag_new_string(mod, "title", m->title),
|
||||
},
|
||||
.count = 2,
|
||||
};
|
||||
mtx_unlock(&mod->lock);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue