gtk: update selected font style and size immediately

This commit is contained in:
Daemonratte 2026-05-15 17:38:55 +02:00
commit f10e451bad

View file

@ -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