aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-week-view-main-item.h
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-week-view-main-item.h')
-rw-r--r--calendar/gui/e-week-view-main-item.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/calendar/gui/e-week-view-main-item.h b/calendar/gui/e-week-view-main-item.h
index 34bdfa2e1f..135a25e662 100644
--- a/calendar/gui/e-week-view-main-item.h
+++ b/calendar/gui/e-week-view-main-item.h
@@ -26,9 +26,7 @@
#include "e-week-view.h"
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
/*
* EWeekViewMainItem - displays the background grid and dates for the Week and
@@ -59,8 +57,6 @@ GType e_week_view_main_item_get_type (void);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* _E_WEEK_VIEW_MAIN_ITEM_H_ */