From cd5a55f9812643109be6c2b0ed5d8f8ce655a4a9 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 16 May 2013 13:06:56 -0400 Subject: em-format cleanups. --- em-format/e-mail-part-attachment-bar.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'em-format/e-mail-part-attachment-bar.h') diff --git a/em-format/e-mail-part-attachment-bar.h b/em-format/e-mail-part-attachment-bar.h index 87b6311b5d..38e644f801 100644 --- a/em-format/e-mail-part-attachment-bar.h +++ b/em-format/e-mail-part-attachment-bar.h @@ -1,4 +1,6 @@ /* + * e-mail-part-attachment-bar.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,12 +19,16 @@ #ifndef E_MAIL_PART_ATTACHMENT_BAR_H #define E_MAIL_PART_ATTACHMENT_BAR_H -#ifdef HAVE_CONFIG_H -#include -#endif - #include +#define E_MAIL_PART_ATTACHMENT_BAR(part) \ + ((EMailPartAttachmentBar *) part) +#define E_IS_MAIL_PART_ATTACHMENT_BAR(part) \ + (E_MAIL_PART_IS (part, EMailPartAttachmentBar)) + +#define E_MAIL_PART_ATTACHMENT_BAR_MIME_TYPE \ + "application/vnd.evolution.widget.attachment-bar" + typedef struct _EMailPartAttachmentBar { EMailPart parent; -- cgit