[evolution-patches] Don't use weak references to clean up "const" values in EContact



Hi,

From http://bugzilla.gnome.org/show_bug.cgi?id=363445

Weak references are not free and EContact creates a new weak reference
for every time e_contact_get_const() returns a new value to clean it up
when the object dies.  This is a rather heavyweight way of doing the
cleanup, as it can be done fine in finalise.

The bug has a patch.

Ross
-- 
Ross Burton                                 mail: ross burtonini com
                                          jabber: ross burtonini com
                                     www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]