tint2conf: Sort icon themes in list

This commit is contained in:
o9000
2016-02-28 13:06:50 +01:00
parent 46e386a6f8
commit c4d1614cc3
3 changed files with 47 additions and 22 deletions

View File

@@ -17,6 +17,7 @@ typedef struct IconThemeWrapper {
typedef struct IconTheme {
char *name;
char *description;
GSList *list_inherits; // each item is a char* (theme name)
GSList *list_directories; // each item is an IconThemeDir*
} IconTheme;
@@ -31,6 +32,7 @@ int parse_theme_line(char *line, char **key, char **value);
IconThemeWrapper *load_themes(const char *icon_theme_name);
void free_themes(IconThemeWrapper *themes);
void free_icon_theme(IconTheme *theme);
#define DEFAULT_ICON "application-x-executable"