From c57e7348d2e34c7eb27fafa73b40602725ea315a Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Sun, 8 Jan 2017 16:09:24 +0100 Subject: Add some better error message. Allow -theme-str option to override part of theme --- include/theme.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'include/theme.h') diff --git a/include/theme.h b/include/theme.h index fd318760..1964467a 100644 --- a/include/theme.h +++ b/include/theme.h @@ -169,8 +169,19 @@ void rofi_theme_free ( ThemeWidget *wid ); * @param file filename to parse. * * Parse the input theme file. + * + * @returns returns TRUE when error. + */ +gboolean rofi_theme_parse_file ( const char *file ); + +/** + * @param string to parse. + * + * Parse the input string in addition to theme file. + * + * @returns returns TRUE when error. */ -void rofi_theme_parse_file ( const char *file ); +gboolean rofi_theme_parse_string ( const char *file ); /** * @param widget The widget handle. -- cgit v1.2.3