mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
draw: rename on_event() to on_element()
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
28830c0dc9
commit
7dd1fa0e0b
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue