diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-09-20 10:55:54 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-09-20 10:59:37 -0400 |
commit | ee75bae8f8fa70a7ee6650403f4c3929f0358afa (patch) | |
tree | 05621138aa1d8778137005e7d8a56a9668df3815 | |
parent | 3c62cd90d4cd345058f391b77cc0c08e290ef636 (diff) | |
download | gtk+-ee75bae8f8fa70a7ee6650403f4c3929f0358afa.tar.gz |
fontchooser: Make sure the tweak button is updated
This was showing up as tweak buttons being visible
when they should not. The code probably relied on
widgets being hidden by default (as they were in
GTK3).
-rw-r--r-- | gtk/gtkfontchooserdialog.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkfontchooserdialog.c b/gtk/gtkfontchooserdialog.c index 6181db6836..5c38db7fa8 100644 --- a/gtk/gtkfontchooserdialog.c +++ b/gtk/gtkfontchooserdialog.c @@ -183,6 +183,8 @@ setup_tweak_button (GtkFontChooserDialog *dialog) gtk_header_bar_pack_end (GTK_HEADER_BAR (header), button); dialog->tweak_button = button; + + update_tweak_button (dialog); } } |