aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-junk-hook.h
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-junk-hook.h')
-rw-r--r--mail/em-junk-hook.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/mail/em-junk-hook.h b/mail/em-junk-hook.h
index 9e7c999b29..1f66518e96 100644
--- a/mail/em-junk-hook.h
+++ b/mail/em-junk-hook.h
@@ -28,10 +28,7 @@
#include <camel/camel-junk-plugin.h>
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif /* __cplusplus */
+G_BEGIN_DECLS
typedef struct _EMJunkHookItem EMJunkHookItem;
typedef struct _EMJunkHookGroup EMJunkHookGroup;
@@ -99,8 +96,6 @@ struct _EMJunkClass {
GType emj_get_type(void);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __EM_JUNK_HOOK_H__ */