From 80ecad798a4054cbeda711a88caa6661d880b953 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Thu, 8 Jun 2023 17:42:59 +0300 Subject: [PATCH 16/16] gtk: Make Small Font setting to take effect See osdn #48186 Signed-off-by: Marko Lindqvist --- client/options.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/options.c b/client/options.c index 50af060e09..39a4937c28 100644 --- a/client/options.c +++ b/client/options.c @@ -673,7 +673,7 @@ bool option_reset(struct option *poption) } /**************************************************************************** - Set the function to call every time this option changes. Can be NULL. + Set the function to call every time this option changes. Can be NULL. ****************************************************************************/ void option_set_changed_callback(struct option *poption, void (*callback) (struct option *)) @@ -2565,7 +2565,7 @@ static struct client_option client_options[] = { "in the city dialog, the Economy report or the Units " "report."), COC_FONT, GUI_GTK2, - "Sans 9", NULL), + "Sans 9", font_changed_callback), GEN_FONT_OPTION(gui_gtk2_font_comment_label, "comment_label", N_("Comment Label"), N_("This font is used to display comment labels, such as " @@ -2786,7 +2786,7 @@ static struct client_option client_options[] = { "in the city dialog, the Economy report or the Units " "report."), COC_FONT, GUI_GTK3, - "Sans 9", NULL), + "Sans 9", font_changed_callback), GEN_FONT_OPTION(gui_gtk3_font_comment_label, "comment_label", N_("Comment Label"), N_("This font is used to display comment labels, such as " @@ -3007,7 +3007,7 @@ static struct client_option client_options[] = { "in the city dialog, the Economy report or the Units " "report."), COC_FONT, GUI_GTK3_22, - "Sans 9", NULL), + "Sans 9", font_changed_callback), GEN_FONT_OPTION(gui_gtk3_22_font_comment_label, "comment_label", N_("Comment Label"), N_("This font is used to display comment labels, such as " -- 2.39.2