diff options
author | Milan Crha <mcrha@src.gnome.org> | 2007-08-16 18:51:06 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2007-08-16 18:51:06 +0800 |
commit | ca5d6d6a338fbe5d8e6b24b85f681b9df07ce392 (patch) | |
tree | 45fb3d086d27a695be5eff6ae9f7a8d47d23fd7b /plugins/mail-to-task/mail-to-task.c | |
parent | 6ee27498e11e532a971cbb10659d754a7c2a577d (diff) | |
download | gsoc2013-evolution-ca5d6d6a338fbe5d8e6b24b85f681b9df07ce392.tar.gz gsoc2013-evolution-ca5d6d6a338fbe5d8e6b24b85f681b9df07ce392.tar.zst gsoc2013-evolution-ca5d6d6a338fbe5d8e6b24b85f681b9df07ce392.zip |
2007-08-16 mcrha Part of fix for bug #350539
svn path=/trunk/; revision=34017
Diffstat (limited to 'plugins/mail-to-task/mail-to-task.c')
-rw-r--r-- | plugins/mail-to-task/mail-to-task.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mail-to-task/mail-to-task.c b/plugins/mail-to-task/mail-to-task.c index 9b3d18e7fd..0cddb62bf2 100644 --- a/plugins/mail-to-task/mail-to-task.c +++ b/plugins/mail-to-task/mail-to-task.c @@ -131,6 +131,9 @@ set_description (ECalComponent *comp, CamelMimeMessage *message) count--; } + if (!mime_part) + return; + type = camel_mime_part_get_content_type (mime_part); if (!camel_content_type_is (type, "text", "plain")) return; |