diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-05-23 00:11:49 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-05-24 04:36:01 +0800 |
commit | 256422cab27d0b7adbe99fdeaceb72cd78c129bb (patch) | |
tree | 8d087e570e7656e7d088232d98c52636c95baed0 /modules/calendar | |
parent | 37c5951635a4f45ba26b0f95ce7af61275d47fba (diff) | |
download | gsoc2013-evolution-256422cab27d0b7adbe99fdeaceb72cd78c129bb.tar.gz gsoc2013-evolution-256422cab27d0b7adbe99fdeaceb72cd78c129bb.tar.zst gsoc2013-evolution-256422cab27d0b7adbe99fdeaceb72cd78c129bb.zip |
Attachment-related cleanups.
Diffstat (limited to 'modules/calendar')
-rw-r--r-- | modules/calendar/e-cal-attachment-handler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/calendar/e-cal-attachment-handler.c b/modules/calendar/e-cal-attachment-handler.c index 539a5ba3a4..343d4bad14 100644 --- a/modules/calendar/e-cal-attachment-handler.c +++ b/modules/calendar/e-cal-attachment-handler.c @@ -80,7 +80,7 @@ attachment_handler_get_component (EAttachment *attachment) return NULL; mime_part = e_attachment_get_mime_part (attachment); - if (!CAMEL_IS_MIME_PART (mime_part)) + if (mime_part == NULL) return NULL; buffer = g_byte_array_new (); |