draw: rename on_event() to on_element()

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-06-23 13:32:22 +02:00
parent 28830c0dc9
commit 7dd1fa0e0b

View file

@ -198,8 +198,8 @@ draw_font_delete(font_t **font)
}
static void
draw_markup_on_event(markup_parser_data_t *p, const char *elem,
const char **names, const char **values)
draw_markup_on_element(markup_parser_data_t *p, const char *elem,
const char **names, const char **values)
{
draw_parser_data_t *data = p->priv;
@ -250,7 +250,7 @@ draw_text_markup_expand(draw_parser_data_t *data,
{
.elements = elements,
.priv = data,
.on_element = &draw_markup_on_event,
.on_element = &draw_markup_on_element,
};
markup_parser_data_init(&p);