Simplify and merge {config,theme}-dir.c

This commit is contained in:
Johan Malm 2020-08-10 17:24:17 +01:00
parent fc6fca6945
commit f003abf608
20 changed files with 181 additions and 163 deletions

View file

@ -1,5 +1,7 @@
#ifndef __LABWC_THEME_DIR_H
#define __LABWC_THEME_DIR_H
#ifndef __LABWC_DIR_H
#define __LABWC_DIR_H
char *config_dir(void);
/**
* theme_dir - find theme directory containing theme @theme_name
@ -7,4 +9,4 @@
*/
char *theme_dir(const char *theme_name);
#endif /* __LABWC_THEME_DIR_H */
#endif /* __LABWC_DIR_H */

View file

@ -1,6 +0,0 @@
#ifndef __LABWC_CONFIG_DIR_H
#define __LABWC_CONFIG_DIR_H
char *config_dir(void);
#endif /* __LABWC_CONFIG_DIR_H */