summaryrefslogtreecommitdiff
path: root/src/preferences-dialog.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2019-04-27 08:18:24 +0200
committerJörg Frings-Fürst <debian@jff.email>2019-04-27 08:18:24 +0200
commit36e384f7f5dc6b4ba03048a261bee37225c3d856 (patch)
treea9eabcee4fb9379440b5518f9b4be1d8537a6ff1 /src/preferences-dialog.vala
parent654b0df859d8bd2723bd1508a3e48d0d30a0ef0d (diff)
parentda62a01238b3d57d39616bfad82bf9a6fb2ac114 (diff)
Merge branch 'feature/upstream' into develop
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;