Bug 699909 — Do not use toggle_refs in CamelObjectBag
authorDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 10 May 2013 20:13:35 +0000 (21:13 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 22 May 2013 13:33:19 +0000 (14:33 +0100)
commit42363f0ffc923810973a392446babebb8e618a6b
treeeddd0b5bf12f1e14bef5f62ff5b49cd2d4ab3aa4
parent5f354ca0ece23304db910d1e5864b5fd42dbd59c
Bug 699909 — Do not use toggle_refs in CamelObjectBag

They are broken and not thread-safe. Use GWeakRef instead to fix the
original problem that they were introduced to fix (bug 638810).
(cherry picked from commit 87b365d99c2d1f5d366d1432a6422db8fdc45d0b)
camel/camel-object-bag.c