aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view-layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-day-view-layout.h')
-rw-r--r--calendar/gui/e-day-view-layout.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/calendar/gui/e-day-view-layout.h b/calendar/gui/e-day-view-layout.h
index f3d431ca20..36f2e0c52d 100644
--- a/calendar/gui/e-day-view-layout.h
+++ b/calendar/gui/e-day-view-layout.h
@@ -26,9 +26,7 @@
#include "e-day-view.h"
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
/* I've split these functions away from EDayView so we can use them for
printing. */
@@ -51,8 +49,6 @@ gboolean e_day_view_find_long_event_days (EDayViewEvent *event,
gint *start_day,
gint *end_day);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* _E_DAY_VIEW_LAYOUT_H_ */