[gtk/matthiasc/for-main: 11/11] fontbutton: Pass the fontmap to the dialog
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-main: 11/11] fontbutton: Pass the fontmap to the dialog
- Date: Mon, 3 Jan 2022 02:38:19 +0000 (UTC)
commit 234d20641c2570498c3d81239f8466ccaf34c557
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jan 2 21:35:00 2022 -0500
fontbutton: Pass the fontmap to the dialog
gtk/gtkfontbutton.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gtk/gtkfontbutton.c b/gtk/gtkfontbutton.c
index 1816ec2810..4dea9b09f4 100644
--- a/gtk/gtkfontbutton.c
+++ b/gtk/gtkfontbutton.c
@@ -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);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]