draw: rename on_event() to on_element()
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
28830c0dc9
commit
7dd1fa0e0b
|
@ -198,8 +198,8 @@ draw_font_delete(font_t **font)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
draw_markup_on_event(markup_parser_data_t *p, const char *elem,
|
draw_markup_on_element(markup_parser_data_t *p, const char *elem,
|
||||||
const char **names, const char **values)
|
const char **names, const char **values)
|
||||||
{
|
{
|
||||||
draw_parser_data_t *data = p->priv;
|
draw_parser_data_t *data = p->priv;
|
||||||
|
|
||||||
|
@ -250,7 +250,7 @@ draw_text_markup_expand(draw_parser_data_t *data,
|
||||||
{
|
{
|
||||||
.elements = elements,
|
.elements = elements,
|
||||||
.priv = data,
|
.priv = data,
|
||||||
.on_element = &draw_markup_on_event,
|
.on_element = &draw_markup_on_element,
|
||||||
};
|
};
|
||||||
|
|
||||||
markup_parser_data_init(&p);
|
markup_parser_data_init(&p);
|
||||||
|
|
Loading…
Reference in New Issue