[evolution-data-server/openismus-work] EBookBacknendFile: Use E_DATA_BOOK_ERROR for contact-not-found



commit ab3d9d577ff4756d6de6234b850512a6916abb21
Author: Tristan Van Berkom <tristanvb openismus com>
Date:   Tue Jan 22 14:51:26 2013 +0900

    EBookBacknendFile: Use E_DATA_BOOK_ERROR for contact-not-found

 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 6c2e211..8669185 100644
--- a/addressbook/backends/file/e-book-backend-file.c
+++ b/addressbook/backends/file/e-book-backend-file.c
@@ -1038,8 +1038,8 @@ e_book_backend_file_get_contact (EBookBackendSync *backend,
 		if (g_error_matches (local_error,
 				     E_BOOK_SDB_ERROR,
 				     E_BOOK_SDB_ERROR_CONTACT_NOT_FOUND)) {
-			g_set_error (perror, E_BOOK_CLIENT_ERROR,
-				     E_BOOK_CLIENT_ERROR_CONTACT_NOT_FOUND,
+			g_set_error (perror, E_DATA_BOOK_ERROR,
+				     E_DATA_BOOK_STATUS_CONTACT_NOT_FOUND,
 				     _("Conflicting UIDs found in added contacts"));
 			g_error_free (local_error);
 		} else



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]