aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-menu.h
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-cal-menu.h')
-rw-r--r--calendar/gui/e-cal-menu.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/calendar/gui/e-cal-menu.h b/calendar/gui/e-cal-menu.h
index f1d9f4b729..0667f92051 100644
--- a/calendar/gui/e-cal-menu.h
+++ b/calendar/gui/e-cal-menu.h
@@ -28,10 +28,7 @@
#include "e-util/e-menu.h"
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif /* __cplusplus */
+G_BEGIN_DECLS
typedef struct _ECalMenu ECalMenu;
typedef struct _ECalMenuClass ECalMenuClass;
@@ -119,8 +116,6 @@ struct _ECalMenuHookClass {
GType e_cal_menu_hook_get_type(void);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __E_CAL_MENU_H__ */