diff options
author | Niels De Graef <nielsdegraef@gmail.com> | 2018-01-13 11:46:56 +0100 |
---|---|---|
committer | Niels De Graef <nielsdegraef@gmail.com> | 2018-01-13 11:46:56 +0100 |
commit | 14697dc230b2cce51ba35aaf4d4fc7f65ac5e1ef (patch) | |
tree | 0f2e354a570a1d4798020e2da711b29b7cbb5d42 | |
parent | 33b71d8d97f85f5c756ab54dc7fa37c2c6df53bd (diff) | |
download | gnome-contacts-14697dc230b2cce51ba35aaf4d4fc7f65ac5e1ef.tar.gz |
ContactsWindow: no need to pass the Settings.
-rw-r--r-- | src/contacts-app.vala | 2 | ||||
-rw-r--r-- | src/contacts-window.vala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/contacts-app.vala b/src/contacts-app.vala index 29fb9bc..3b0224b 100644 --- a/src/contacts-app.vala +++ b/src/contacts-app.vala @@ -226,7 +226,7 @@ public class Contacts.App : Gtk.Application { } private void create_window () { - this.window = new Contacts.Window (this, this.contacts_store, this.settings); + this.window = new Contacts.Window (this, this.contacts_store); } private void schedule_window_creation () { diff --git a/src/contacts-window.vala b/src/contacts-window.vala index a3a9143..5422f30 100644 --- a/src/contacts-window.vala +++ b/src/contacts-window.vala @@ -62,7 +62,7 @@ public class Contacts.Window : Gtk.ApplicationWindow { private bool selection_mode = false; private bool editing_new_contact = false; - public Window (App app, Store contacts_store, Settings settings) { + public Window (App app, Store contacts_store) { Object ( application: app, show_menubar: false, |