From f10e451badc4d686e2af06cf9ae71ade096cfd5d Mon Sep 17 00:00:00 2001 From: Daemonratte Date: Fri, 15 May 2026 17:38:55 +0200 Subject: [PATCH] gtk: update selected font style and size immediately --- gtk/gtkfontsel.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/gtk/gtkfontsel.c b/gtk/gtkfontsel.c index 3f511db0e..5489f8062 100644 --- a/gtk/gtkfontsel.c +++ b/gtk/gtkfontsel.c @@ -1076,9 +1076,7 @@ gtk_font_selection_select_style (GtkTreeSelection *selection, { GtkFontSelection *fontsel = GTK_FONT_SELECTION (data); - gtk_font_selection_schedule_selection (fontsel, - font_selection_style_timeout_quark (), - gtk_font_selection_real_select_style); + gtk_font_selection_real_select_style (fontsel); } static void @@ -1241,9 +1239,7 @@ gtk_font_selection_select_size (GtkTreeSelection *selection, { GtkFontSelection *fontsel = GTK_FONT_SELECTION (data); - gtk_font_selection_schedule_selection (fontsel, - font_selection_size_timeout_quark (), - gtk_font_selection_real_select_size); + gtk_font_selection_real_select_size (fontsel); } static void