commit 2acf20e6fba2f3aceadd0a95a560fc5eaaacf895
parent acd389ea490ed0c21416f361eb2d7f1dde418731
Author: paul <paul@claws-mail.org>
Date: Thu, 26 Mar 2020 09:20:38 +0000
fix bug where, after modifying fonts, all bold text in the folderview would be lost until restart
Diffstat:
1 file changed, 0 insertions(+), 10 deletions(-)
diff --git a/src/folderview.c b/src/folderview.c
@@ -2793,16 +2793,6 @@ void folderview_reflect_prefs(void)
last_boldfont = g_strdup(BOLD_FONT);
last_derive = prefs_common.derive_from_normal_font;
-#define STYLE_FREE(s) \
- if (s != NULL) { \
- g_object_unref(s); \
- s = NULL; \
- }
-
- STYLE_FREE(bold_style);
-
-#undef STYLE_FREE
-
folderview_set_fonts(folderview);
gtk_cmclist_freeze(GTK_CMCLIST(folderview->ctree));