eds: Cope with opening buggy EDS address book backends
authorPhilip Withnall <philip@tecnocode.co.uk>
Fri, 6 Jan 2012 23:01:12 +0000 (23:01 +0000)
committerPhilip Withnall <philip@tecnocode.co.uk>
Fri, 6 Jan 2012 23:01:12 +0000 (23:01 +0000)
commit478d8b0f9744d97600303dcd3dd7876b74949806
tree573aabcbe7c6e02ac7c0999696fb26811bdaba3c
parent9eac06d8f0fe7cb5e58a95d7540f670419d98e54
eds: Cope with opening buggy EDS address book backends

Turns out that almost as soon as I’d pushed the previous commit, one of my
address books proved me wrong and returned successfully from the async open()
call without being open (according to is_opened()) afterwards. Bother.

This replaces the assertion that the above holds with some code which will
throw an error instead, which should be a bit more robust in the case of
buggy EDS address books.
backends/eds/lib/edsf-persona-store.vala