diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2019-04-27 08:18:05 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2019-04-27 08:18:05 +0200 |
commit | 6036820119035cd589e2114c217fedc354bfbbd7 (patch) | |
tree | 85c06383a85a9de20b7dd32e3f32ac7790844747 /src/preferences-dialog.vala | |
parent | 0e384edd113205731fd0dc9f8e148d7dd5c6e5c3 (diff) |
New upstream version 3.32.2upstream/3.32.2
Diffstat (limited to 'src/preferences-dialog.vala')
-rw-r--r-- | src/preferences-dialog.vala | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/preferences-dialog.vala b/src/preferences-dialog.vala index d58c066..43f49af 100644 --- a/src/preferences-dialog.vala +++ b/src/preferences-dialog.vala @@ -58,15 +58,10 @@ private class PreferencesDialog : Gtk.Dialog private Gtk.Adjustment brightness_adjustment; [GtkChild] private Gtk.Adjustment contrast_adjustment; - [GtkChild] - private Gtk.Button preferences_close_button; - public PreferencesDialog (Settings settings, bool use_header_bar) + public PreferencesDialog (Settings settings) { - Object (use_header_bar: use_header_bar ? 1 : -1); - - if (use_header_bar) - preferences_close_button.visible = false; + Object (use_header_bar: 1); this.settings = settings; |