aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view-time-item.h
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-day-view-time-item.h')
-rw-r--r--calendar/gui/e-day-view-time-item.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/calendar/gui/e-day-view-time-item.h b/calendar/gui/e-day-view-time-item.h
index 9d7bdcae9f..237b556df6 100644
--- a/calendar/gui/e-day-view-time-item.h
+++ b/calendar/gui/e-day-view-time-item.h
@@ -26,9 +26,7 @@
#include "e-day-view.h"
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
/*
* EDayViewTimeItem - canvas item which displays the times down the left of
@@ -71,8 +69,6 @@ GType e_day_view_time_item_get_type (void);
gint e_day_view_time_item_get_column_width (EDayViewTimeItem *dvtmitem);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* _E_DAY_VIEW_TIME_ITEM_H_ */