diff options
Diffstat (limited to 'mail/em-junk-hook.h')
-rw-r--r-- | mail/em-junk-hook.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/mail/em-junk-hook.h b/mail/em-junk-hook.h index 9e7c999b29..39d18421ef 100644 --- a/mail/em-junk-hook.h +++ b/mail/em-junk-hook.h @@ -27,11 +27,9 @@ #include "e-util/e-plugin.h" #include <camel/camel-junk-plugin.h> +#include <camel/camel-mime-message.h> -#ifdef __cplusplus -extern "C" { -#pragma } -#endif /* __cplusplus */ +G_BEGIN_DECLS typedef struct _EMJunkHookItem EMJunkHookItem; typedef struct _EMJunkHookGroup EMJunkHookGroup; @@ -49,7 +47,7 @@ GQuark em_junk_error_quark (void); #define EM_JUNK_ERROR em_junk_error_quark () struct _EMJunkHookTarget { - struct _CamelMimeMessage *m; + CamelMimeMessage *m; GError *error; }; @@ -99,8 +97,6 @@ struct _EMJunkClass { GType emj_get_type(void); -#ifdef __cplusplus -} -#endif /* __cplusplus */ +G_END_DECLS #endif /* __EM_JUNK_HOOK_H__ */ |