EBookBackendFile: Report the correct error from remove_contacts()
authorTristan Van Berkom <tristanvb@openismus.com>
Fri, 22 Feb 2013 09:33:07 +0000 (18:33 +0900)
committerTristan Van Berkom <tristanvb@openismus.com>
Fri, 22 Feb 2013 09:46:40 +0000 (18:46 +0900)
commit4cbd466c71012968d998b06c1a13c959340d18c2
treee1b0a14e45771e311d0ae9774dd7c1db4b8925d6
parent97a725e8546c2f5e0566312bc81d1c518bcd9eec
EBookBackendFile: Report the correct error from remove_contacts()

If the EBookBackenSqliteDB reports CONTACT_NOT_FOUND, then use
E_DATA_BOOK_STATUS_CONTACT_NOT_FOUND, this causes test-client-remove-contact
to pass again.

See bug: https://bugzilla.gnome.org/show_bug.cgi?id=694188
addressbook/backends/file/e-book-backend-file.c