summaryrefslogtreecommitdiff
path: root/src/contacts-types.vala
diff options
context:
space:
mode:
authorNiels De Graef <nielsdegraef@gmail.com>2018-03-31 11:48:48 +0200
committerNiels De Graef <nielsdegraef@gmail.com>2018-03-31 11:48:48 +0200
commite7960b06652703e3d51e53cb675cb0bb0d45a915 (patch)
tree80f063ce5450c6c5a8886ae2c09a944f6108ebcf /src/contacts-types.vala
parentc15ea8360df5a87798a34e150a9a131280912cdd (diff)
downloadgnome-contacts-e7960b06652703e3d51e53cb675cb0bb0d45a915.tar.gz
Contact: don't needlessly lookup the types of all fields.
This shoudln't be necessary and actually seems to cause some memory leakage.
Diffstat (limited to 'src/contacts-types.vala')
-rw-r--r--src/contacts-types.vala5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/contacts-types.vala b/src/contacts-types.vala
index de8344d..9affca6 100644
--- a/src/contacts-types.vala
+++ b/src/contacts-types.vala
@@ -209,11 +209,6 @@ public class Contacts.TypeSet : Object {
}
}
-
- public void type_seen (AbstractFieldDetails detail) {
- lookup_type (detail, null);
- }
-
public string format_type (AbstractFieldDetails detail) {
if (detail.parameters.contains (X_GOOGLE_LABEL)) {
return Utils.get_first<string> (detail.parameters.get (X_GOOGLE_LABEL));