gtk: update selected font style and size immediately
This commit is contained in:
parent
5806b7f34d
commit
f10e451bad
1 changed files with 2 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue