evolution-data-server r8349 - trunk/camel



Author: mcrha
Date: Wed Jan  9 12:22:14 2008
New Revision: 8349
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8349&view=rev

Log:
2008-01-09  Milan Crha  <mcrha redhat com>

	* Reverted previous patch because it doesn't play well with
	prefer plain plugin.



Modified:
   trunk/camel/ChangeLog
   trunk/camel/camel-mime-part.c

Modified: trunk/camel/camel-mime-part.c
==============================================================================
--- trunk/camel/camel-mime-part.c	(original)
+++ trunk/camel/camel-mime-part.c	Wed Jan  9 12:22:14 2008
@@ -447,9 +447,8 @@
 				 "Content-Disposition", str);
 	g_free(str);
 
-	camel_content_type_set_param ( (camel_data_wrapper_get_mime_type ((CamelDataWrapper *) mime_part)), "name", filename);
-
-	str = camel_content_type_format ((camel_data_wrapper_get_mime_type ((CamelDataWrapper *) mime_part)));
+	camel_content_type_set_param (((CamelDataWrapper *) mime_part)->mime_type, "name", filename);
+	str = camel_content_type_format (((CamelDataWrapper *) mime_part)->mime_type);
 	camel_medium_set_header (CAMEL_MEDIUM (mime_part), "Content-Type", str);
 	g_free (str);
 }



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