diff options
Diffstat (limited to 'calendar/gui/e-week-view-layout.h')
-rw-r--r-- | calendar/gui/e-week-view-layout.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/calendar/gui/e-week-view-layout.h b/calendar/gui/e-week-view-layout.h index 0acd41d232..67975b2b20 100644 --- a/calendar/gui/e-week-view-layout.h +++ b/calendar/gui/e-week-view-layout.h @@ -26,9 +26,7 @@ #include "e-week-view.h" -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ +G_BEGIN_DECLS /* I've split these functions away from EWeekView so we can use them for printing. */ @@ -63,8 +61,6 @@ gboolean e_week_view_layout_get_span_position (EWeekViewEvent *event, gboolean compress_weekend, gint *span_num_days); -#ifdef __cplusplus -} -#endif /* __cplusplus */ +G_END_DECLS #endif /* _E_WEEK_VIEW_LAYOUT_H_ */ |