Patch: Correct type of self parameter of parse method



* libtinymail-camel/tny-camel-msg.c, libtinymail-camel/tny-camel-msg.h
(tny_camel_msg_parse): Correct type of self parameter

Carl Simonson
simonsonc gmail com
commit 38699a3055ef9e0ce98ac20290febca696c403ea
Author: Carl Simonson <simonsonc gmail com>
Date:   Tue Dec 8 09:53:42 2009 -0600

    TnyCamelMsg: Correct type of self parameter of parse method

diff --git a/ChangeLog b/ChangeLog
index 331c8fa..9a2ee29 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-12-08  Carl Simonson <simonsonc gmail com>
+
+	* libtinymail-camel/tny-camel-msg.c, libtinymail-camel/tny-camel-msg.h
+	(tny_camel_msg_parse): Correct type of self parameter
+
 2009-10-26  Sergio Villar Senin  <svillar igalia com>
 
 	Fixed a lot of memory leaks in CamelException's
diff --git a/libtinymail-camel/tny-camel-msg.c b/libtinymail-camel/tny-camel-msg.c
index 5bf2fd2..889929d 100644
--- a/libtinymail-camel/tny-camel-msg.c
+++ b/libtinymail-camel/tny-camel-msg.c
@@ -512,7 +512,7 @@ tny_camel_msg_get_type (void)
 }
 
 void
-tny_camel_msg_parse (TnyMsg *self, TnyStream *stream)
+tny_camel_msg_parse (TnyCamelMsg *self, TnyStream *stream)
 {
 	TnyCamelMimePartPriv *ppriv = TNY_CAMEL_MIME_PART_GET_PRIVATE (self);
 	CamelMimeParser *parser;
diff --git a/libtinymail-camel/tny-camel-msg.h b/libtinymail-camel/tny-camel-msg.h
index a7fb2a8..123462d 100644
--- a/libtinymail-camel/tny-camel-msg.h
+++ b/libtinymail-camel/tny-camel-msg.h
@@ -64,7 +64,7 @@ GType tny_camel_msg_get_type (void);
 
 TnyMsg* tny_camel_msg_new (void);
 TnyMsg* tny_camel_msg_new_with_part (CamelMimePart *part);
-void tny_camel_msg_parse (TnyMsg *self, TnyStream *stream);
+void tny_camel_msg_parse (TnyCamelMsg *self, TnyStream *stream);
 
 
 G_END_DECLS


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