aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-event.h
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-cal-event.h')
-rw-r--r--calendar/gui/e-cal-event.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/calendar/gui/e-cal-event.h b/calendar/gui/e-cal-event.h
index 4932157f37..e219679f89 100644
--- a/calendar/gui/e-cal-event.h
+++ b/calendar/gui/e-cal-event.h
@@ -29,10 +29,7 @@
#include "e-util/e-event.h"
#include "shell/e-shell-backend.h"
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif
+G_BEGIN_DECLS
typedef struct _ECalEvent ECalEvent;
typedef struct _ECalEventClass ECalEventClass;
@@ -82,8 +79,6 @@ struct _ECalEventHookClass {
GType e_cal_event_hook_get_type (void);
-#ifdef __cplusplus
-}
-#endif
+G_END_DECLS
#endif /* __E_CAL_EVENT_H__ */