From 22aacb8f94f4b6837dc192b98d243da4c2ae3f34 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Wed, 14 Jun 2017 16:19:17 +0200 Subject: Add extra check for rofi_theme_parse_prepare_file --- include/theme.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include') diff --git a/include/theme.h b/include/theme.h index b956af0e..c0182e64 100644 --- a/include/theme.h +++ b/include/theme.h @@ -484,4 +484,14 @@ void rofi_theme_convert_old ( void ); * @returns path to theme or copy of filename if not found. */ char *helper_get_theme_path ( const char *file ); + +/** + * @param file File name to prepare. + * @param parent_file Filename of parent file. + * + * Tries to find full path relative to parent file. + * + * @returns full path to file. + */ +char * rofi_theme_parse_prepare_file ( const char *file, const char *parent_file ); #endif -- cgit v1.2.3