summaryrefslogtreecommitdiff
path: root/src/lib/efreet
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-09 12:20:08 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-09 12:20:08 +0000
commit14d501d17bbfe7ca9bc6763b5b33d5b55aa0874e (patch)
tree299f8ae930c84738ff79a5415a248c489ef497c1 /src/lib/efreet
parentf3cea4b53a526ffa5610c925d283ca462e47ffb1 (diff)
efreet icon - move func into ifdef as only used if ifdef is true
Diffstat (limited to 'src/lib/efreet')
-rw-r--r--src/lib/efreet/efreet_icon.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/efreet/efreet_icon.c b/src/lib/efreet/efreet_icon.c
index f802177f30..7078343e57 100644
--- a/src/lib/efreet/efreet_icon.c
+++ b/src/lib/efreet/efreet_icon.c
@@ -25,7 +25,9 @@ struct Efreet_Icon_Cache
25 time_t lasttime; 25 time_t lasttime;
26}; 26};
27 27
28#ifdef SLOPPY_SPEC
28static char *efreet_icon_remove_extension(const char *icon); 29static char *efreet_icon_remove_extension(const char *icon);
30#endif
29 31
30static Efreet_Icon *efreet_icon_new(const char *path); 32static Efreet_Icon *efreet_icon_new(const char *path);
31static void efreet_icon_populate(Efreet_Icon *icon, const char *file); 33static void efreet_icon_populate(Efreet_Icon *icon, const char *file);
@@ -179,6 +181,7 @@ efreet_icon_theme_find(const char *theme_name)
179 return efreet_cache_icon_theme_find(theme_name); 181 return efreet_cache_icon_theme_find(theme_name);
180} 182}
181 183
184#ifdef SLOPPY_SPEC
182/** 185/**
183 * @internal 186 * @internal
184 * @param icon The icon name to strip extension 187 * @param icon The icon name to strip extension
@@ -214,6 +217,7 @@ efreet_icon_remove_extension(const char *icon)
214 217
215 return tmp; 218 return tmp;
216} 219}
220#endif
217 221
218EAPI const char * 222EAPI const char *
219efreet_icon_path_find(const char *theme_name, const char *icon, unsigned int size) 223efreet_icon_path_find(const char *theme_name, const char *icon, unsigned int size)