From 83c569de376dc410efb98ad1007ec49fa4bf3586 Mon Sep 17 00:00:00 2001 From: Jabber Developer Date: Tue, 24 Jun 2025 15:24:09 +0200 Subject: [PATCH] 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. --- src/config/theme.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/config/theme.c b/src/config/theme.c index 79afacd1..81b43368 100644 --- a/src/config/theme.c +++ b/src/config/theme.c @@ -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;