{
/* If we trust the PersonaStore the Persona came from, we can
* attempt to link based on its linkable properties. */
- foreach (string prop_name in persona.linkable_properties)
+ foreach (string foo in persona.linkable_properties)
{
+ /* FIXME: If we just use string prop_name directly in the
+ * foreach, Vala doesn't copy it into the closure data, and
+ * prop_name ends up as NULL. bgo#628336 */
+ string prop_name = foo;
+
unowned ObjectClass pclass = persona.get_class ();
if (pclass.find_property (prop_name) == null)
{