[evolution-ews] Remove compat cruft from camel-ews-transport.c



commit 86c66e1abfd70b842fe1b8c44ba6f9585b0c7702
Author: David Woodhouse <David Woodhouse intel com>
Date:   Tue Oct 18 11:48:53 2011 +0100

    Remove compat cruft from camel-ews-transport.c

 src/camel/camel-ews-transport.c |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/src/camel/camel-ews-transport.c b/src/camel/camel-ews-transport.c
index fbc792d..9e804e3 100644
--- a/src/camel/camel-ews-transport.c
+++ b/src/camel/camel-ews-transport.c
@@ -30,8 +30,6 @@
 
 #include <glib/gi18n-lib.h>
 
-#include <e-ews-compat.h>
-
 #include "camel-ews-store.h"
 #include "camel-ews-transport.h"
 #include "camel-ews-utils.h"
@@ -44,7 +42,7 @@ G_DEFINE_TYPE (CamelEwsTransport, camel_ews_transport, CAMEL_TYPE_TRANSPORT)
 
 static gboolean
 ews_transport_connect_sync (CamelService *service,
-                            EVO3(GCancellable *cancellable,)
+                            GCancellable *cancellable,
 			    GError **error)
 {
 	return TRUE;
@@ -71,10 +69,9 @@ ews_send_to_sync (CamelTransport *transport,
 		  CamelMimeMessage *message,
 		  CamelAddress *from,
 		  CamelAddress *recipients,
-		  EVO3(GCancellable *cancellable,)
+		  GCancellable *cancellable,
 		  GError **error)
 {
-	EVO2(GCancellable *cancellable = NULL;)
 	CamelService *service;
 	EEwsConnection *cnc;
 	const gchar *host_url;
@@ -108,11 +105,11 @@ camel_ews_transport_class_init (CamelEwsTransportClass *class)
 	CamelTransportClass *transport_class;
 
 	service_class = CAMEL_SERVICE_CLASS (class);
-	service_class->EVO3_sync(connect) = ews_transport_connect_sync;
+	service_class->connect_sync = ews_transport_connect_sync;
 	service_class->get_name = ews_transport_get_name;
 
 	transport_class = CAMEL_TRANSPORT_CLASS (class);
-	transport_class->EVO3_sync(send_to) = ews_send_to_sync;
+	transport_class->send_to_sync = ews_send_to_sync;
 }
 
 static void



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