diff options
| author | Matthias Clasen <mclasen@redhat.com> | 2022-01-02 21:35:00 -0500 |
|---|---|---|
| committer | Matthias Clasen <mclasen@redhat.com> | 2022-01-02 21:37:32 -0500 |
| commit | 234d20641c2570498c3d81239f8466ccaf34c557 (patch) | |
| tree | abd9cf10ebc1c0086dbf82683710a6015db5f384 | |
| parent | dd802f21e7fc715927656cc623865a1eeab752d5 (diff) | |
| download | gtk+-234d20641c2570498c3d81239f8466ccaf34c557.tar.gz | |
fontbutton: Pass the fontmap to the dialog
| -rw-r--r-- | gtk/gtkfontbutton.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); } } |
