aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/a11y/ea-day-view-main-item.h
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/a11y/ea-day-view-main-item.h')
-rw-r--r--calendar/gui/a11y/ea-day-view-main-item.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/calendar/gui/a11y/ea-day-view-main-item.h b/calendar/gui/a11y/ea-day-view-main-item.h
index 0ee7b5e0d1..c782e6acc8 100644
--- a/calendar/gui/a11y/ea-day-view-main-item.h
+++ b/calendar/gui/a11y/ea-day-view-main-item.h
@@ -27,9 +27,7 @@
#include <atk/atkgobjectaccessible.h>
#include "e-day-view-main-item.h"
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define EA_TYPE_DAY_VIEW_MAIN_ITEM (ea_day_view_main_item_get_type ())
#define EA_DAY_VIEW_MAIN_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EA_TYPE_DAY_VIEW_MAIN_ITEM, EaDayViewMainItem))
@@ -55,8 +53,6 @@ struct _EaDayViewMainItemClass
AtkObject* ea_day_view_main_item_new (GObject *obj);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __EA_DAY_VIEW_MAIN_ITEM_H__ */