evolution-exchange r1703 - in trunk: . calendar camel mail storage



Author: mcrha
Date: Fri Jul 25 06:51:57 2008
New Revision: 1703
URL: http://svn.gnome.org/viewvc/evolution-exchange?rev=1703&view=rev

Log:
2008-07-25  Milan Crha  <mcrha redhat com>

	** Part of fix for bug #544031

	* camel/camel-exchange-summary.c: (message_info_to_db):
	* mail/mail-stub-listener.h: (struct _MailStubListener):
	* storage/exchange-component.c: (new_connection):
	* calendar/e-cal-backend-exchange.c: (build_msg):
	* calendar/e-cal-backend-exchange-calendar.c: (send_objects):
	Compiler warnings cleanup.



Modified:
   trunk/ChangeLog
   trunk/calendar/e-cal-backend-exchange-calendar.c
   trunk/calendar/e-cal-backend-exchange.c
   trunk/camel/camel-exchange-summary.c
   trunk/mail/mail-stub-listener.h
   trunk/storage/exchange-component.c

Modified: trunk/calendar/e-cal-backend-exchange-calendar.c
==============================================================================
--- trunk/calendar/e-cal-backend-exchange-calendar.c	(original)
+++ trunk/calendar/e-cal-backend-exchange-calendar.c	Fri Jul 25 06:51:57 2008
@@ -2013,7 +2013,7 @@
 	ECalBackendSyncStatus retval = GNOME_Evolution_Calendar_Success;
 	ECalBackendExchangeBookingResult result;
 	ECalComponent *comp = NULL;
-	icalcomponent *top_level = NULL, *icalcomp, *tzcomp;
+	icalcomponent *top_level = NULL, *icalcomp;
 	icalproperty *prop;
 	icalproperty_method method;
 	GError *error = NULL;

Modified: trunk/calendar/e-cal-backend-exchange.c
==============================================================================
--- trunk/calendar/e-cal-backend-exchange.c	(original)
+++ trunk/calendar/e-cal-backend-exchange.c	Fri Jul 25 06:51:57 2008
@@ -1876,7 +1876,6 @@
 	char *from_name = NULL, *from_email = NULL;
 	GSList *attach_list = NULL, *l, *new_attach_list = NULL;
 	char *fname, *file_contents = NULL, *filename, *dest_url, *mime_filename, *attach_file;
-	char *mime_type;
 	int len = 0;
 
 	if (!g_ascii_strcasecmp(e_cal_backend_exchange_get_owner_email (E_CAL_BACKEND_SYNC (cbex)), exchange_account_get_email_id (cbex->account)))

Modified: trunk/camel/camel-exchange-summary.c
==============================================================================
--- trunk/camel/camel-exchange-summary.c	(original)
+++ trunk/camel/camel-exchange-summary.c	Fri Jul 25 06:51:57 2008
@@ -310,7 +310,7 @@
 
 	mir = CAMEL_FOLDER_SUMMARY_CLASS(parent_class)->message_info_to_db (s, info);
 	if (mir) 
-		mir->bdata = g_strdup_printf ("%d-%s %d-%s", einfo->thread_index ? strlen(einfo->thread_index):0 , einfo->thread_index ? einfo->thread_index : "", einfo->href ? strlen(einfo->href):0, einfo->href ? einfo->href:"");
+		mir->bdata = g_strdup_printf ("%d-%s %d-%s", einfo->thread_index ? (int)strlen(einfo->thread_index):0 , einfo->thread_index ? einfo->thread_index : "", einfo->href ? (int)strlen(einfo->href):0, einfo->href ? einfo->href:"");
 
 	return mir;
 }

Modified: trunk/mail/mail-stub-listener.h
==============================================================================
--- trunk/mail/mail-stub-listener.h	(original)
+++ trunk/mail/mail-stub-listener.h	Fri Jul 25 06:51:57 2008
@@ -23,7 +23,7 @@
 struct _MailStubListener {
 	GObject parent;
 
-	gpointer *stub;
+	gpointer stub;
 	char *socket_path;
 	GIOChannel *channel;
 

Modified: trunk/storage/exchange-component.c
==============================================================================
--- trunk/storage/exchange-component.c	(original)
+++ trunk/storage/exchange-component.c	Fri Jul 25 06:51:57 2008
@@ -328,7 +328,7 @@
 
 	exchange_account_is_offline (account, &mode);
 	if (mode != ONLINE_MODE) {
-		mse = mail_stub_exchange_new (account, cmd_fd, status_fd);
+		mse = MAIL_STUB_EXCHANGE (mail_stub_exchange_new (account, cmd_fd, status_fd));
 		goto end;
 	}
 



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