[gnome-contacts] Store: remove unused is_empty()



commit 493074bde769351b3ea8d49e1d3bd7917de9520e
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Sun Jan 21 15:51:50 2018 +0100

    Store: remove unused is_empty()

 src/contacts-store.vala |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/contacts-store.vala b/src/contacts-store.vala
index e2c97ae..053f4d7 100644
--- a/src/contacts-store.vala
+++ b/src/contacts-store.vala
@@ -289,14 +289,6 @@ public class Contacts.Store : GLib.Object {
     return contacts.read_only_view;
   }
 
-  public bool is_empty () {
-    foreach (var contact in contacts) {
-      if (!contact.is_hidden)
-       return false;
-    }
-    return true;
-  }
-
   private void add (Contact c) {
     contacts.add (c);
     c.changed.connect (contact_changed_cb);


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