forked from external/yambar
particle/ramp: assert sub particles where instantiated correctly
This commit is contained in:
parent
c3cfae13e8
commit
44db9304c5
1 changed files with 1 additions and 0 deletions
|
@ -122,6 +122,7 @@ instantiate(const struct particle *particle, const struct tag_set *tags)
|
|||
|
||||
struct eprivate *e = calloc(1, sizeof(*e));
|
||||
e->exposable = pp->instantiate(pp, tags);
|
||||
assert(e->exposable != NULL);
|
||||
|
||||
char *on_click = tags_expand_template(particle->on_click_template, tags);
|
||||
struct exposable *exposable = exposable_common_new(particle, on_click);
|
||||
|
|
Loading…
Add table
Reference in a new issue