aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-event.h
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-event.h')
-rw-r--r--e-util/e-event.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/e-util/e-event.h b/e-util/e-event.h
index 3ea5c8202b..6f561a007c 100644
--- a/e-util/e-event.h
+++ b/e-util/e-event.h
@@ -30,10 +30,7 @@
#include <glib-object.h>
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif /* __cplusplus */
+G_BEGIN_DECLS
/* This is an abstract event management class. */
@@ -231,8 +228,6 @@ GType e_event_hook_get_type(void);
/* for implementors */
void e_event_hook_class_add_target_map(EEventHookClass *klass, const EEventHookTargetMap *);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __E_EVENT_H__ */