* mu-cmd-index.c, mu-cmd-view.c, mu-msg-part.c: fix some overly long functions

This commit is contained in:
Dirk-Jan C. Binnema
2010-09-05 21:39:07 +03:00
parent 51790dd888
commit b7410acce8
3 changed files with 16 additions and 28 deletions

View File

@ -117,12 +117,11 @@ save_part (GMimeObject *part, const char *filename,
close (fd);
return FALSE;
}
/* GMimeStream will close the fd */
g_mime_stream_fs_set_owner (GMIME_STREAM_FS(stream), TRUE);
g_mime_stream_fs_set_owner (GMIME_STREAM_FS(stream),
TRUE); /* GMimeStream will close the fd */
wrapper = g_mime_part_get_content_object (GMIME_PART(part));
if (!wrapper) {
if (!(wrapper = g_mime_part_get_content_object (GMIME_PART(part)))) {
g_object_unref (G_OBJECT(stream));
g_critical ("%s: failed to create wrapper", __FUNCTION__);
return FALSE;