diff options
Diffstat (limited to 'include/swaybar')
-rw-r--r-- | include/swaybar/tray/icon.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/include/swaybar/tray/icon.h b/include/swaybar/tray/icon.h index 8e1d471e..3673674b 100644 --- a/include/swaybar/tray/icon.h +++ b/include/swaybar/tray/icon.h @@ -3,16 +3,16 @@ #include "list.h" -enum subdir_type { - THRESHOLD, - SCALABLE, - FIXED -}; - struct icon_theme_subdir { char *name; int size; - enum subdir_type type; + + enum { + THRESHOLD, + SCALABLE, + FIXED + } type; + int max_size; int min_size; int threshold; @@ -39,6 +39,5 @@ void finish_themes(list_t *themes, list_t *basedirs); */ char *find_icon(list_t *themes, list_t *basedirs, char *name, int size, char *theme, int *min_size, int *max_size); -char *find_icon_in_dir(char *name, char *dir, int *min_size, int *max_size); #endif |