We were previously writing serialized Telepathy AbstractFieldDetails
values over each other in the final array, which was generally bad
and specifically crashed Gnome Shell.
This affects AFD-derived structures: phone numbers, email addresses,
and URLs.
Closes: bgo#662314 - Gnome-shell restarts if I change my user status to
disconnected/unavailable
* Bug 662616 — We should set mime type when setting an EContact's photo
* Bug 662274 — Failed to link personas: Can't link personas with no primary
store.
+* Bug 662314 — Gnome-shell restarts if I change my user status to
+ disconnected/unavailable
API changes:
* Add AbstractFieldDetails.id to identify instances of details
{
foreach (var val in afd.parameters.get (key))
{
- parameters[f] = new Variant.tuple ({
+ parameters[f++] = new Variant.tuple ({
new Variant.string (key), // Key
new Variant.string (val) // Value
});
}
}
- output_variants[i] = new Variant.tuple ({
+ output_variants[i++] = new Variant.tuple ({
afd.value, // Variant value (e.g. e-mail address)
new Variant.array (new VariantType.tuple ({
VariantType.STRING, // Key