ref: Remove unnecessary variable bold_items

The variable was introduced in 976e5aa. First used to detect bold characters, it was later replaced by another solution in 850ac3c.
This commit is contained in:
2025-06-24 15:24:09 +02:00
parent 7d1e1c726d
commit 83c569de37

View File

@@ -58,7 +58,6 @@
static GString* theme_loc;
static GKeyFile* theme;
static GHashTable* bold_items;
static GHashTable* defaults;
static void _load_preferences(void);
@@ -78,10 +77,6 @@ _theme_close(void)
g_string_free(theme_loc, TRUE);
theme_loc = NULL;
}
if (bold_items) {
g_hash_table_destroy(bold_items);
bold_items = NULL;
}
if (defaults) {
g_hash_table_destroy(defaults);
defaults = NULL;