aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-hook.h
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-format-hook.h')
-rw-r--r--mail/em-format-hook.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/mail/em-format-hook.h b/mail/em-format-hook.h
index 553eb7adab..3f02167e58 100644
--- a/mail/em-format-hook.h
+++ b/mail/em-format-hook.h
@@ -30,10 +30,7 @@
#include "mail/em-format.h"
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif /* __cplusplus */
+G_BEGIN_DECLS
typedef struct _EMFormatHookItem EMFormatHookItem;
typedef struct _EMFormatHookGroup EMFormatHookGroup;
@@ -91,8 +88,6 @@ GType em_format_hook_get_type(void);
/* register a type as a possible formatter hook point */
void em_format_hook_register_type(GType type);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __EM_FORMAT_HOOK_H__ */