summaryrefslogtreecommitdiff
path: root/src/preferences-dialog.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2019-07-12 11:39:48 +0200
committerJörg Frings-Fürst <debian@jff.email>2019-07-12 11:39:48 +0200
commitd3b3513c5f264d5d9b61f036e40fba818d2279c5 (patch)
tree3d8629fb2541195727c49658bfeed58bebd45318 /src/preferences-dialog.vala
parent01618ecd59eb344c087956a2633ec70f0df0d76d (diff)
parentd6e4c86952c77e816571c4bffe48d2ce27f109e8 (diff)
Merge branch 'release/debian/3.32.2.1-1'debian/3.32.2.1-1
Diffstat (limited to 'src/preferences-dialog.vala')
-rw-r--r--src/preferences-dialog.vala9
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;