aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-event.h
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-event.h')
-rw-r--r--mail/em-event.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/mail/em-event.h b/mail/em-event.h
index 5dc11bd910..b58a0f2cfc 100644
--- a/mail/em-event.h
+++ b/mail/em-event.h
@@ -29,10 +29,7 @@
#include "e-util/e-event.h"
#include "mail/em-folder-browser.h"
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif /* __cplusplus */
+G_BEGIN_DECLS
struct _CamelFolder;
struct _CamelMimeMessage;
@@ -177,8 +174,6 @@ struct _EMEventHookClass {
GType em_event_hook_get_type(void);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __EM_EVENT_H__ */