[gnome-contacts] Fixing bug Crash when adding to My Contacts.
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] Fixing bug Crash when adding to My Contacts.
- Date: Thu, 1 Mar 2012 16:08:39 +0000 (UTC)
commit ba0de04e1cbee48a087149015306e7969f641889
Author: Erick PÃrez Castellanos <erick red gmail com>
Date: Thu Mar 1 09:39:59 2012 -0500
Fixing bug Crash when adding to My Contacts.
https://bugzilla.gnome.org/show_bug.cgi?id=670880
src/contacts-linking.vala | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/contacts-linking.vala b/src/contacts-linking.vala
index 1b63ae0..e2bf76b 100644
--- a/src/contacts-linking.vala
+++ b/src/contacts-linking.vala
@@ -547,9 +547,10 @@ namespace Contacts {
Set<PersonaAttribute>? linkables = null;
// Remove all linkable data from each contact that is already in the other contact
- main_linkables.remove_all (other_linkables);
- if (other_linkables != null)
+ if (other_linkables != null) {
+ main_linkables.remove_all (other_linkables);
other_linkables.remove_all (main_linkables);
+ }
Persona? write_persona = null;
foreach (var p1 in main.individual.personas) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]