diff options
Diffstat (limited to 'src/contacts-contact.vala')
-rw-r--r-- | src/contacts-contact.vala | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/contacts-contact.vala b/src/contacts-contact.vala index 7f332a7..6c52deb 100644 --- a/src/contacts-contact.vala +++ b/src/contacts-contact.vala @@ -133,8 +133,6 @@ public class Contacts.Contact : GLib.Object { is_main = calc_is_main (); - update (); - individual.notify.connect(notify_cb); } @@ -259,7 +257,6 @@ public class Contacts.Contact : GLib.Object { private bool changed_cb () { this.changed_id = 0; this.is_main = calc_is_main (); - update (); changed (); return false; } @@ -282,16 +279,6 @@ public class Contacts.Contact : GLib.Object { queue_changed (); } - private void update () { - foreach (var email in individual.email_addresses) { - TypeSet.general.type_seen (email); - } - - foreach (var phone in individual.phone_numbers) { - TypeSet.phone.type_seen (phone); - } - } - /* We claim something is "removable" if at least one persona is removable, that will typically unlink the rest. */ public bool can_remove_personas () { |