private string _persona_iid_1 = "";
private string _persona_iid_2 = "";
private HashSet<Persona> _personas;
- private int _removed_individuals = 0;
private string _folks_config_key = "/system/folks/backends/primary_store";
private unowned GConf.Client _gconf_client;
private Gee.HashMap<string, string> _linking_props;
/* Check we get the new individual (containing the linked
* personas) and that the previous ones were removed. */
assert (this._linking_props.size == 0);
- assert (this._removed_individuals == 2);
}
private async void _test_linking_personas_async ()
MultiMap<Individual?, Individual?> changes)
{
var added = changes.get_values ();
- var removed = changes.get_keys ();
foreach (var i in added)
{
i.notify["im-addresses"].connect (this._notify_cb);
}
}
-
- foreach (var i in removed)
- {
- if (i == null)
- {
- continue;
- }
-
- this._removed_individuals++;
- }
}
private void _notify_cb (Object individual_obj, ParamSpec ps)