diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-01-08 16:09:24 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-01-08 16:09:24 +0100 |
commit | c57e7348d2e34c7eb27fafa73b40602725ea315a (patch) | |
tree | 3db8e06a1a46941fcd94244db658d35a73768e5a /include/theme.h | |
parent | 6318e5024b155d5b7383d9352ba56e464f91b3b7 (diff) |
Add some better error message. Allow -theme-str option to override part of theme
Diffstat (limited to 'include/theme.h')
-rw-r--r-- | include/theme.h | 13 |
1 files changed, 12 insertions, 1 deletions
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. |