mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-26 06:06:21 +00:00
ref: Remove unnecessary variable bold_items
The variable was introduced in976e5aa. First used to detect bold characters, it was later replaced by another solution in850ac3c.
This commit is contained in:
@@ -58,7 +58,6 @@
|
|||||||
|
|
||||||
static GString* theme_loc;
|
static GString* theme_loc;
|
||||||
static GKeyFile* theme;
|
static GKeyFile* theme;
|
||||||
static GHashTable* bold_items;
|
|
||||||
static GHashTable* defaults;
|
static GHashTable* defaults;
|
||||||
|
|
||||||
static void _load_preferences(void);
|
static void _load_preferences(void);
|
||||||
@@ -78,10 +77,6 @@ _theme_close(void)
|
|||||||
g_string_free(theme_loc, TRUE);
|
g_string_free(theme_loc, TRUE);
|
||||||
theme_loc = NULL;
|
theme_loc = NULL;
|
||||||
}
|
}
|
||||||
if (bold_items) {
|
|
||||||
g_hash_table_destroy(bold_items);
|
|
||||||
bold_items = NULL;
|
|
||||||
}
|
|
||||||
if (defaults) {
|
if (defaults) {
|
||||||
g_hash_table_destroy(defaults);
|
g_hash_table_destroy(defaults);
|
||||||
defaults = NULL;
|
defaults = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user