From: Philip Withnall Date: Fri, 22 Jun 2012 18:03:55 +0000 (+0100) Subject: core: Don’t keep references to PersonaStores in each Individual X-Git-Tag: FOLKS_0_7_3~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6f743fdc074910ff8f4d0b91753e82a0b2c92867;p=platform%2Fupstream%2Ffolks.git core: Don’t keep references to PersonaStores in each Individual Pointless and it makes debugging reference counting bugs a real pain. --- 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;