[evolution-data-server/evolution-data-server-3-12] Remove libdb related headers from libedata-book.h



commit b5eb376a9b939976906519af6649b235f7b3861d
Author: Milan Crha <mcrha redhat com>
Date:   Thu Jul 10 20:54:20 2014 +0200

    Remove libdb related headers from libedata-book.h
    
    This is about e-book-backend-db-cache.h, which is
    deprecated. If needed at all, include it directly.

 .../libedata-book/e-book-backend-db-cache.h        |    4 ----
 addressbook/libedata-book/libedata-book.h          |    1 -
 2 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/addressbook/libedata-book/e-book-backend-db-cache.h 
b/addressbook/libedata-book/e-book-backend-db-cache.h
index 4387338..6b1a109 100644
--- a/addressbook/libedata-book/e-book-backend-db-cache.h
+++ b/addressbook/libedata-book/e-book-backend-db-cache.h
@@ -18,10 +18,6 @@
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#if !defined (__LIBEDATA_BOOK_H_INSIDE__) && !defined (LIBEDATA_BOOK_COMPILATION)
-#error "Only <libedata-book/libedata-book.h> should be included directly."
-#endif
-
 #ifndef E_BOOK_BACKEND_DB_CACHE_H
 #define E_BOOK_BACKEND_DB_CACHE_H
 
diff --git a/addressbook/libedata-book/libedata-book.h b/addressbook/libedata-book/libedata-book.h
index 093e1a8..876e02a 100644
--- a/addressbook/libedata-book/libedata-book.h
+++ b/addressbook/libedata-book/libedata-book.h
@@ -24,7 +24,6 @@
 #include <libebackend/libebackend.h>
 
 #include <libedata-book/e-book-backend-cache.h>
-#include <libedata-book/e-book-backend-db-cache.h>
 #include <libedata-book/e-book-backend-factory.h>
 #include <libedata-book/e-book-backend-sexp.h>
 #include <libedata-book/e-book-backend-sqlitedb.h>


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