+ /* Makes no sense to look for related MIME parts if we
+ only want the plain text parts */
+ if (want_html && g_str_has_prefix (content_type, "multipart/related")) {
+ /* In an alternative the last part is supposed
+ to be the richest */
+ if (related)
+ g_object_unref (related);
+ related = g_object_ref (part);
+ }
+