[evolution-data-server/openismus-work] EBookBackendFile: Use E_DATA_BOOK_ERROR instead of E_BOOK_CLIENT_ERROR
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/openismus-work] EBookBackendFile: Use E_DATA_BOOK_ERROR instead of E_BOOK_CLIENT_ERROR
- Date: Tue, 22 Jan 2013 06:10:08 +0000 (UTC)
commit 33a3a1fa5e764ab13f7b829be4194657e247c78b
Author: Tristan Van Berkom <tristanvb openismus com>
Date: Tue Jan 22 14:50:06 2013 +0900
EBookBackendFile: Use E_DATA_BOOK_ERROR instead of E_BOOK_CLIENT_ERROR
addressbook/backends/file/e-book-backend-file.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/addressbook/backends/file/e-book-backend-file.c b/addressbook/backends/file/e-book-backend-file.c
index 3b84aff..6c2e211 100644
--- a/addressbook/backends/file/e-book-backend-file.c
+++ b/addressbook/backends/file/e-book-backend-file.c
@@ -762,8 +762,8 @@ do_create (EBookBackendFile *bf,
if (g_error_matches (local_error,
E_BOOK_SDB_ERROR,
E_BOOK_SDB_ERROR_CONSTRAINT)) {
- g_set_error (perror, E_CLIENT_ERROR,
- E_CLIENT_ERROR_QUERY_REFUSED,
+ g_set_error (perror, E_DATA_BOOK_ERROR,
+ E_DATA_BOOK_STATUS_CONTACTID_ALREADY_EXISTS,
_("Conflicting UIDs found in added contacts"));
g_clear_error (&local_error);
} else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]