[gnome-contacts] ContactsWindow: no need to pass the Settings.



commit 14697dc230b2cce51ba35aaf4d4fc7f65ac5e1ef
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Sat Jan 13 11:46:56 2018 +0100

    ContactsWindow: no need to pass the Settings.

 src/contacts-app.vala    |    2 +-
 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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]