Patch: tny_camel_mime_part_get_part does not revert parts order
- From: José Dapena Paz <jdapena igalia com>
- To: tinymail-devel-list <tinymail-devel-list gnome org>
- Subject: Patch: tny_camel_mime_part_get_part does not revert parts order
- Date: Fri, 22 May 2009 13:03:39 +0200
Hi,
This patch avoids reverting the parts order in mime part get parts (we
were prepending instead of appending).
Changelog entry:
* libtinymail-camel/tny-camel-mime-part.c
(tny_camel_mime_part_get_parts_default): don't revert the order
of the mime parts in get_parts.
--
José Dapena Paz <jdapena igalia com>
Igalia
diff --git a/ChangeLog b/ChangeLog
index 138dd22..fefeade 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-05-22 Jose Dapena Paz <jdapena igalia com>
+
+ * libtinymail-camel/tny-camel-mime-part.c
+ (tny_camel_mime_part_get_parts_default): don't revert the order
+ of the mime parts in get_parts.
+
2009-05-22 Sergio Villar Senin <svillar igalia com>
* libtinymail-camel/camel/providers/imap/camel-imap-store.c
diff --git a/libtinymail-camel/tny-camel-mime-part.c b/libtinymail-camel/tny-camel-mime-part.c
index 01a5db1..561f78f 100644
--- a/libtinymail-camel/tny-camel-mime-part.c
+++ b/libtinymail-camel/tny-camel-mime-part.c
@@ -247,7 +247,7 @@ tny_camel_mime_part_get_parts_default (TnyMimePart *self, TnyList *list)
}
}
- tny_list_prepend (list, G_OBJECT (newpart));
+ tny_list_append (list, G_OBJECT (newpart));
g_object_unref (G_OBJECT (newpart));
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]