summaryrefslogtreecommitdiff
path: root/src/contacts-linking.vala
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2011-09-09 11:40:38 +0200
committerAlexander Larsson <alexl@redhat.com>2011-09-09 14:18:04 +0200
commita157fa41e0a67109171e67e069cc8a545bcb145b (patch)
treeb0ceeaa6dbd5bef69d970eeac744e6146afae627 /src/contacts-linking.vala
parent46b3dda1f904458cbd7d552c88ae9c203ec60847 (diff)
downloadgnome-contacts-a157fa41e0a67109171e67e069cc8a545bcb145b.tar.gz
Ensure contacts-new-contact is always unset on persona
Without this we can get leftovers from an old unlink operation
Diffstat (limited to 'src/contacts-linking.vala')
-rw-r--r--src/contacts-linking.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/contacts-linking.vala b/src/contacts-linking.vala
index b98d627..f00fa92 100644
--- a/src/contacts-linking.vala
+++ b/src/contacts-linking.vala
@@ -555,5 +555,7 @@ namespace Contacts {
}
// Last we do the removals on the persona_to_unlink
yield persona_apply_attributes (persona_to_unlink, null, persona_to_unlink_removals);
+
+ persona_to_unlink.set_data ("contacts-new-contact", false);
}
}