fontbutton: Pass the fontmap to the dialog

This commit is contained in:
Matthias Clasen 2022-01-02 21:35:00 -05:00
parent dd802f21e7
commit 234d20641c

View File

@ -433,6 +433,8 @@ gtk_font_button_font_chooser_set_font_map (GtkFontChooser *chooser,
context = gtk_widget_get_pango_context (font_button->font_label);
pango_context_set_font_map (context, font_map);
if (font_button->font_dialog)
gtk_font_chooser_set_font_map (GTK_FONT_CHOOSER (font_button->font_dialog), font_map);
}
}