[gnome-contacts/wip/sorted] Remove some now unused vars in Contacts.View



commit 49dfd7829844d8795f5f6be65b7d041100b5b0e5
Author: Alexander Larsson <alexl redhat com>
Date:   Mon May 14 21:38:06 2012 +0200

    Remove some now unused vars in Contacts.View

 src/contacts-view.vala |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/src/contacts-view.vala b/src/contacts-view.vala
index ef1ed45..f928b6e 100644
--- a/src/contacts-view.vala
+++ b/src/contacts-view.vala
@@ -53,10 +53,6 @@ public class Contacts.View : Contacts.Sorted {
   HashSet<Contact> hidden_contacts;
 
   string []? filter_values;
-  int custom_visible_count;
-  ContactData suggestions_header_data;
-  ContactData padding_data;
-  ContactData other_header_data;
   private TextDisplay text_display;
 
   public View (Store store, TextDisplay text_display = TextDisplay.PRESENCE) {
@@ -92,11 +88,8 @@ public class Contacts.View : Contacts.Sorted {
     if (a_prio < b_prio)
       return 1;
 
-    var a = a_data.contact;
-    var b = b_data.contact;
-
     if (is_set (a_data.display_name) && is_set (b_data.display_name))
-      return a.display_name.collate (b_data.display_name);
+      return a_data.display_name.collate (b_data.display_name);
 
     // Sort empty names last
     if (is_set (a_data.display_name))



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