aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/a11y/ea-cal-view.h
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/a11y/ea-cal-view.h')
-rw-r--r--calendar/gui/a11y/ea-cal-view.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/calendar/gui/a11y/ea-cal-view.h b/calendar/gui/a11y/ea-cal-view.h
index 9aa026ef6d..959f7816b5 100644
--- a/calendar/gui/a11y/ea-cal-view.h
+++ b/calendar/gui/a11y/ea-cal-view.h
@@ -27,9 +27,7 @@
#include <gtk/gtk.h>
#include "e-calendar-view.h"
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define EA_TYPE_CAL_VIEW (ea_cal_view_get_type ())
#define EA_CAL_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EA_TYPE_CAL_VIEW, EaCalView))
@@ -55,8 +53,6 @@ struct _EaCalViewClass
AtkObject* ea_cal_view_new (GtkWidget *widget);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __EA_CAL_VIEW_H__ */