From 6f743fdc074910ff8f4d0b91753e82a0b2c92867 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Fri, 22 Jun 2012 19:03:55 +0100 Subject: [PATCH] =?utf8?q?core:=20Don=E2=80=99t=20keep=20references=20to?= =?utf8?q?=20PersonaStores=20in=20each=20Individual?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Pointless and it makes debugging reference counting bugs a real pain. --- folks/individual.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/folks/individual.vala b/folks/individual.vala index 06bcc32..881bfc1 100644 --- a/folks/individual.vala +++ b/folks/individual.vala @@ -108,8 +108,8 @@ public class Folks.Individual : Object, /* Mapping from PersonaStore -> number of Personas from that store contained * in this Individual. There shouldn't be any entries with a number < 1. * This is used for working out when to disconnect from store signals. */ - private HashMap _stores = - new HashMap (null, null); + private HashMap _stores = + new HashMap (null, null); /* The number of Personas in this Individual which have * Persona.is_user == true. Iff this is > 0, Individual.is_user == true. */ private uint _persona_user_count = 0; -- 2.7.4