diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-05-17 01:06:56 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-05-20 01:07:20 +0800 |
commit | cd5a55f9812643109be6c2b0ed5d8f8ce655a4a9 (patch) | |
tree | 271b673b6e311d5cb44acdd0b6c1d1830aa6982e /em-format/e-mail-part-attachment.h | |
parent | f6f11a1da2dfa2c7616cd18b36a44fefd66f0c75 (diff) | |
download | gsoc2013-evolution-cd5a55f9812643109be6c2b0ed5d8f8ce655a4a9.tar gsoc2013-evolution-cd5a55f9812643109be6c2b0ed5d8f8ce655a4a9.tar.gz gsoc2013-evolution-cd5a55f9812643109be6c2b0ed5d8f8ce655a4a9.tar.bz2 gsoc2013-evolution-cd5a55f9812643109be6c2b0ed5d8f8ce655a4a9.tar.lz gsoc2013-evolution-cd5a55f9812643109be6c2b0ed5d8f8ce655a4a9.tar.xz gsoc2013-evolution-cd5a55f9812643109be6c2b0ed5d8f8ce655a4a9.tar.zst gsoc2013-evolution-cd5a55f9812643109be6c2b0ed5d8f8ce655a4a9.zip |
em-format cleanups.
Diffstat (limited to 'em-format/e-mail-part-attachment.h')
-rw-r--r-- | em-format/e-mail-part-attachment.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/em-format/e-mail-part-attachment.h b/em-format/e-mail-part-attachment.h index cd07e3634b..d44c599e4c 100644 --- a/em-format/e-mail-part-attachment.h +++ b/em-format/e-mail-part-attachment.h @@ -1,4 +1,6 @@ /* + * e-mail-part-attachment.h + * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either @@ -17,13 +19,15 @@ #ifndef E_MAIL_PART_ATTACHMENT_H #define E_MAIL_PART_ATTACHMENT_H -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <em-format/e-mail-part.h> -#define E_MAIL_PART_ATTACHMENT(p) ((EMailPartAttachment *) p) +#define E_MAIL_PART_ATTACHMENT(part) \ + ((EMailPartAttachment *) part) +#define E_IS_MAIL_PART_ATTACHMENT(part) \ + (E_MAIL_PART_IS (part, EMailPartAttachment)) + +#define E_MAIL_PART_ATTACHMENT_MIME_TYPE \ + "application/vnd.evolution.attachment" G_BEGIN_DECLS |