aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view-top-item.h
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-day-view-top-item.h')
-rw-r--r--calendar/gui/e-day-view-top-item.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/calendar/gui/e-day-view-top-item.h b/calendar/gui/e-day-view-top-item.h
index 01a7c44842..61dfdceab8 100644
--- a/calendar/gui/e-day-view-top-item.h
+++ b/calendar/gui/e-day-view-top-item.h
@@ -26,9 +26,7 @@
#include "e-day-view.h"
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
/*
* EDayViewTopItem - displays the top part of the Day/Work Week calendar view.
@@ -62,8 +60,6 @@ void e_day_view_top_item_get_day_label (EDayView *day_view, gint day,
gchar *buffer, gint buffer_len);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* _E_DAY_VIEW_TOP_ITEM_H_ */