config_font_parse(): return fail/success

This commit is contained in:
Daniel Eklöf 2020-12-15 18:55:27 +01:00
parent 04703c07f0
commit 0d6b5f522e
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 35 additions and 11 deletions

View file

@ -191,5 +191,5 @@ bool config_load(
user_notifications_t *initial_user_notifications, bool errors_are_fatal);
void config_free(struct config conf);
struct config_font config_font_parse(const char *pattern);
bool config_font_parse(const char *pattern, struct config_font *font);
void config_font_destroy(struct config_font *font);