summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-06-14 16:19:17 +0200
committerDave Davenport <qball@gmpclient.org>2017-06-14 16:19:17 +0200
commit22aacb8f94f4b6837dc192b98d243da4c2ae3f34 (patch)
tree7793d7e3d260af2839c53f0bae54bdd41aa6db3e /include
parentc851134411ac2a2ae75f74f21cde2f3db8e97441 (diff)
Add extra check for rofi_theme_parse_prepare_file
Diffstat (limited to 'include')
-rw-r--r--include/theme.h10
1 files changed, 10 insertions, 0 deletions
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