From 7dd1fa0e0b6a0cc431b7c7a6a58a9a8bb8b0db09 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 23 Jun 2008 13:32:22 +0200 Subject: [PATCH] draw: rename on_event() to on_element() Signed-off-by: Julien Danjou --- common/draw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/draw.c b/common/draw.c index 25bd64f2..93dda0ea 100644 --- a/common/draw.c +++ b/common/draw.c @@ -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);