Show theme colour value
This commit is contained in:
@@ -557,6 +557,20 @@ _theme_prep_fgnd(char *setting, char *def, GString *lookup_str, gboolean *bold)
|
||||
g_free(val);
|
||||
}
|
||||
|
||||
char*
|
||||
theme_get_string(char *str)
|
||||
{
|
||||
return g_key_file_get_string(theme, "colours", str, NULL);
|
||||
}
|
||||
|
||||
void
|
||||
theme_free_string(char *str)
|
||||
{
|
||||
if (str) {
|
||||
g_free(str);
|
||||
}
|
||||
}
|
||||
|
||||
int
|
||||
theme_attrs(theme_item_t attrs)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user