From 67159043da2de9df576f6a4eaa245e0c3926f004 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 18 Jun 2009 12:56:51 -0400 Subject: Use G_BEGIN_DECLS / G_END_DECLS macros. --- a11y/calendar/ea-cal-view-event.h | 8 ++------ a11y/calendar/ea-cal-view.h | 8 ++------ a11y/calendar/ea-day-view-cell.h | 8 ++------ a11y/calendar/ea-day-view-main-item.h | 8 ++------ a11y/calendar/ea-day-view.h | 8 ++------ a11y/calendar/ea-gnome-calendar.h | 8 ++------ a11y/calendar/ea-jump-button.h | 8 ++------ a11y/calendar/ea-week-view-cell.h | 8 ++------ a11y/calendar/ea-week-view-main-item.h | 8 ++------ a11y/calendar/ea-week-view.h | 8 ++------ 10 files changed, 20 insertions(+), 60 deletions(-) (limited to 'a11y/calendar') diff --git a/a11y/calendar/ea-cal-view-event.h b/a11y/calendar/ea-cal-view-event.h index fccf023a82..548e42b4a7 100644 --- a/a11y/calendar/ea-cal-view-event.h +++ b/a11y/calendar/ea-cal-view-event.h @@ -25,9 +25,7 @@ #include -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ +G_BEGIN_DECLS #define EA_TYPE_CAL_VIEW_EVENT (ea_cal_view_event_get_type ()) #define EA_CAL_VIEW_EVENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EA_TYPE_CAL_VIEW_EVENT, EaCalViewEvent)) @@ -54,9 +52,7 @@ struct _EaCalViewEventClass AtkObject *ea_cal_view_event_new (GObject *obj); -#ifdef __cplusplus -} -#endif /* __cplusplus */ +G_END_DECLS #endif /* __EA_CAL_VIEW_EVENT_H__ */ diff --git a/a11y/calendar/ea-cal-view.h b/a11y/calendar/ea-cal-view.h index 9aa026ef6d..959f7816b5 100644 --- a/a11y/calendar/ea-cal-view.h +++ b/a11y/calendar/ea-cal-view.h @@ -27,9 +27,7 @@ #include #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__ */ diff --git a/a11y/calendar/ea-day-view-cell.h b/a11y/calendar/ea-day-view-cell.h index e0394c639b..669fb1abae 100644 --- a/a11y/calendar/ea-day-view-cell.h +++ b/a11y/calendar/ea-day-view-cell.h @@ -27,9 +27,7 @@ #include #include "e-day-view.h" -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ +G_BEGIN_DECLS #define E_TYPE_DAY_VIEW_CELL (e_day_view_cell_get_type ()) #define E_DAY_VIEW_CELL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), E_TYPE_DAY_VIEW_CELL, EDayViewCell)) @@ -82,8 +80,6 @@ struct _EaDayViewCellClass AtkObject* ea_day_view_cell_new (GObject *gobj); -#ifdef __cplusplus -} -#endif /* __cplusplus */ +G_END_DECLS #endif /* __EA_DAY_VIEW_CELL_H__ */ diff --git a/a11y/calendar/ea-day-view-main-item.h b/a11y/calendar/ea-day-view-main-item.h index 0ee7b5e0d1..c782e6acc8 100644 --- a/a11y/calendar/ea-day-view-main-item.h +++ b/a11y/calendar/ea-day-view-main-item.h @@ -27,9 +27,7 @@ #include #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__ */ diff --git a/a11y/calendar/ea-day-view.h b/a11y/calendar/ea-day-view.h index 011064a764..33399f6600 100644 --- a/a11y/calendar/ea-day-view.h +++ b/a11y/calendar/ea-day-view.h @@ -26,9 +26,7 @@ #include "ea-cal-view.h" #include "e-day-view.h" -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ +G_BEGIN_DECLS #define EA_TYPE_DAY_VIEW (ea_day_view_get_type ()) #define EA_DAY_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EA_TYPE_DAY_VIEW, EaDayView)) @@ -54,8 +52,6 @@ struct _EaDayViewClass AtkObject* ea_day_view_new (GtkWidget *widget); -#ifdef __cplusplus -} -#endif /* __cplusplus */ +G_END_DECLS #endif /* __EA_DAY_VIEW_H__ */ diff --git a/a11y/calendar/ea-gnome-calendar.h b/a11y/calendar/ea-gnome-calendar.h index 56e695a684..b0d2cf71d2 100644 --- a/a11y/calendar/ea-gnome-calendar.h +++ b/a11y/calendar/ea-gnome-calendar.h @@ -26,9 +26,7 @@ #include #include "gnome-cal.h" -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ +G_BEGIN_DECLS #define EA_TYPE_GNOME_CALENDAR (ea_gnome_calendar_get_type ()) #define EA_GNOME_CALENDAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EA_TYPE_GNOME_CALENDAR, EaGnomeCalendar)) @@ -56,9 +54,7 @@ AtkObject* ea_gnome_calendar_new (GtkWidget *widget); const gchar * ea_gnome_calendar_get_label_description (GnomeCalendar *gcal); -#ifdef __cplusplus -} -#endif /* __cplusplus */ +G_END_DECLS #endif /* __EA_GNOME_CALENDAR_H__ */ diff --git a/a11y/calendar/ea-jump-button.h b/a11y/calendar/ea-jump-button.h index cb2bea315d..cd3b6e26bb 100644 --- a/a11y/calendar/ea-jump-button.h +++ b/a11y/calendar/ea-jump-button.h @@ -26,9 +26,7 @@ #include -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ +G_BEGIN_DECLS #define EA_TYPE_JUMP_BUTTON (ea_jump_button_get_type ()) #define EA_JUMP_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EA_TYPE_JUMP_BUTTON, EaJumpButton)) @@ -54,9 +52,7 @@ struct _EaJumpButtonClass AtkObject *ea_jump_button_new (GObject *obj); -#ifdef __cplusplus -} -#endif /* __cplusplus */ +G_END_DECLS #endif /* __EA_JUMP_BUTTON_H__ */ diff --git a/a11y/calendar/ea-week-view-cell.h b/a11y/calendar/ea-week-view-cell.h index 4cd2971b80..1524e9d3a8 100644 --- a/a11y/calendar/ea-week-view-cell.h +++ b/a11y/calendar/ea-week-view-cell.h @@ -27,9 +27,7 @@ #include #include "e-week-view.h" -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ +G_BEGIN_DECLS #define E_TYPE_WEEK_VIEW_CELL (e_week_view_cell_get_type ()) #define E_WEEK_VIEW_CELL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), E_TYPE_WEEK_VIEW_CELL, EWeekViewCell)) @@ -82,8 +80,6 @@ struct _EaWeekViewCellClass AtkObject* ea_week_view_cell_new (GObject *gobj); -#ifdef __cplusplus -} -#endif /* __cplusplus */ +G_END_DECLS #endif /* __EA_WEEK_VIEW_CELL_H__ */ diff --git a/a11y/calendar/ea-week-view-main-item.h b/a11y/calendar/ea-week-view-main-item.h index 2093de10bd..d9110160c4 100644 --- a/a11y/calendar/ea-week-view-main-item.h +++ b/a11y/calendar/ea-week-view-main-item.h @@ -28,9 +28,7 @@ #include #include "e-week-view-main-item.h" -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ +G_BEGIN_DECLS #define EA_TYPE_WEEK_VIEW_MAIN_ITEM (ea_week_view_main_item_get_type ()) #define EA_WEEK_VIEW_MAIN_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EA_TYPE_WEEK_VIEW_MAIN_ITEM, EaWeekViewMainItem)) @@ -56,8 +54,6 @@ struct _EaWeekViewMainItemClass AtkObject* ea_week_view_main_item_new (GObject *obj); -#ifdef __cplusplus -} -#endif /* __cplusplus */ +G_END_DECLS #endif /* __EA_WEEK_VIEW_MAIN_ITEM_H__ */ diff --git a/a11y/calendar/ea-week-view.h b/a11y/calendar/ea-week-view.h index 5a83276059..bb71c17e74 100644 --- a/a11y/calendar/ea-week-view.h +++ b/a11y/calendar/ea-week-view.h @@ -27,9 +27,7 @@ #include "ea-cal-view.h" #include "e-week-view.h" -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ +G_BEGIN_DECLS #define EA_TYPE_WEEK_VIEW (ea_week_view_get_type ()) #define EA_WEEK_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EA_TYPE_WEEK_VIEW, EaWeekView)) @@ -55,9 +53,7 @@ struct _EaWeekViewClass AtkObject* ea_week_view_new (GtkWidget *widget); -#ifdef __cplusplus -} -#endif /* __cplusplus */ +G_END_DECLS #endif /* __EA_WEEK_VIEW_H__ */ -- cgit v1.2.3