forked from AuroraMiddleware/gtk
fontbutton: Pass the fontmap to the dialog
This commit is contained in:
parent
dd802f21e7
commit
234d20641c
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user