[evolution-ews] Adapt to libemail-engine.



commit c3576697a55fc645e4ef18794e413649d811edff
Author: Matthew Barnes <mbarnes redhat com>
Date:   Wed Jan 18 23:09:36 2012 -0500

    Adapt to libemail-engine.

 configure.ac                                       |    1 +
 src/account-setup-eplugin/Makefile.am              |    6 ++++--
 .../exchange-ews-account-listener.c                |    1 -
 3 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 57ef172..a0ce011 100644
--- a/configure.ac
+++ b/configure.ac
@@ -141,6 +141,7 @@ PKG_CHECK_MODULES(LIBECAL, libecal-1.2 >= eds_minimum_version)
 PKG_CHECK_MODULES(LIBEDATACAL, libedata-cal-1.2 >= eds_minimum_version)
 PKG_CHECK_MODULES(LIBBOOK, libebook-1.2 >= eds_minimum_version)
 PKG_CHECK_MODULES(LIBEDATABOOK, libedata-book-1.2 >= eds_minimum_version)
+PKG_CHECK_MODULES(LIBEMAIL_ENGINE, libemail-engine >= eds_minimum_version)
 PKG_CHECK_MODULES(CAMEL, camel-1.2 >= eds_minimum_version)
 
 dnl ****************************
diff --git a/src/account-setup-eplugin/Makefile.am b/src/account-setup-eplugin/Makefile.am
index 2e529a6..93e8b8e 100644
--- a/src/account-setup-eplugin/Makefile.am
+++ b/src/account-setup-eplugin/Makefile.am
@@ -38,7 +38,8 @@ liborg_gnome_exchange_ews_la_LIBADD = 			\
 	$(EVOLUTION_PLUGIN_LIBS)			\
 	$(EVOLUTION_SHELL_LIBS) \
 	$(CAMEL_LIBS) 					\
-	$(LIBECAL_LIBS)
+	$(LIBECAL_LIBS)					\
+	$(LIBEMAIL_ENGINE_LIBS)
 
 liborg_gnome_exchange_ews_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED)
 liborg_gnome_exchange_ews_la_CFLAGS = \
@@ -50,7 +51,8 @@ liborg_gnome_exchange_ews_la_CFLAGS = \
 	-I$(top_srcdir)/src/server			\
 	-I$(top_builddir)/src/server			\
 	-I$(top_srcdir)/src/utils	        	\
-	$(LIBEWS_CFLAGS)
+	$(LIBEWS_CFLAGS)				\
+	$(LIBEMAIL_ENGINE_CFLAGS)
 
 EXTRA_DIST = 						\
 	org-gnome-exchange-ews.eplug.xml
diff --git a/src/account-setup-eplugin/exchange-ews-account-listener.c b/src/account-setup-eplugin/exchange-ews-account-listener.c
index 62a9b02..6fc3d87 100644
--- a/src/account-setup-eplugin/exchange-ews-account-listener.c
+++ b/src/account-setup-eplugin/exchange-ews-account-listener.c
@@ -25,7 +25,6 @@
 #include <glib/gi18n-lib.h>
 #include <glib/gstdio.h>
 #include <shell/e-shell.h>
-#include <mail/e-mail-session.h>
 #include <mail/e-mail-backend.h>
 
 #include <camel/camel.h>



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