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 0802640d2c..8fb28dfd17 100644
--- a/calendar/gui/e-cal-event.h
+++ b/calendar/gui/e-cal-event.h
@@ -28,10 +28,7 @@
#include "e-util/e-event.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__ */