diff options
author | Milan Crha <mcrha@redhat.com> | 2015-04-13 18:09:50 +0200 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2015-04-13 18:09:50 +0200 |
commit | 132c16fdf1ed63ea95f8535e9dfbaf7469cc8bbd (patch) | |
tree | 0bc7f4dc72fca83af2165b0aca25a86cb922867b /addressbook | |
parent | fa523ce8303033a29096bf495f1192d1894d0f80 (diff) | |
download | evolution-data-server-132c16fdf1ed63ea95f8535e9dfbaf7469cc8bbd.tar.gz |
[local book] Failure of contact remove not propagated to UI
Typo in the code, which prevented the error to be propagated
back to the caller.
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/backends/file/e-book-backend-file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/backends/file/e-book-backend-file.c b/addressbook/backends/file/e-book-backend-file.c index b0dbe79b9..ed8dfd54b 100644 --- a/addressbook/backends/file/e-book-backend-file.c +++ b/addressbook/backends/file/e-book-backend-file.c @@ -1495,7 +1495,7 @@ book_backend_file_remove_contacts_sync (EBookBackend *backend, /* Remove from summary as well */ if (!e_book_sqlite_remove_contacts (bf->priv->sqlitedb, removed_ids, cancellable, &local_error)) { - if (!local_error) { + if (local_error) { g_warning ("Failed to remove contacts: %s", local_error->message); g_propagate_error (error, local_error); } |