diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-06-19 00:56:51 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-06-19 00:56:51 +0800 |
commit | 67159043da2de9df576f6a4eaa245e0c3926f004 (patch) | |
tree | 2a1bb98e3bb539c105afb6c334594be3c3dfdf69 /a11y/widgets | |
parent | 801224c346db9ab6564da0ef9dd96d4e54c2252c (diff) | |
download | gsoc2013-evolution-67159043da2de9df576f6a4eaa245e0c3926f004.tar gsoc2013-evolution-67159043da2de9df576f6a4eaa245e0c3926f004.tar.gz gsoc2013-evolution-67159043da2de9df576f6a4eaa245e0c3926f004.tar.bz2 gsoc2013-evolution-67159043da2de9df576f6a4eaa245e0c3926f004.tar.lz gsoc2013-evolution-67159043da2de9df576f6a4eaa245e0c3926f004.tar.xz gsoc2013-evolution-67159043da2de9df576f6a4eaa245e0c3926f004.tar.zst gsoc2013-evolution-67159043da2de9df576f6a4eaa245e0c3926f004.zip |
Use G_BEGIN_DECLS / G_END_DECLS macros.
Diffstat (limited to 'a11y/widgets')
-rw-r--r-- | a11y/widgets/ea-calendar-cell.h | 8 | ||||
-rw-r--r-- | a11y/widgets/ea-calendar-item.h | 8 |
2 files changed, 4 insertions, 12 deletions
diff --git a/a11y/widgets/ea-calendar-cell.h b/a11y/widgets/ea-calendar-cell.h index be35c66312..fa68fdca55 100644 --- a/a11y/widgets/ea-calendar-cell.h +++ b/a11y/widgets/ea-calendar-cell.h @@ -26,9 +26,7 @@ #include <atk/atkgobjectaccessible.h> #include "misc/e-calendar-item.h" -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ +G_BEGIN_DECLS #define E_TYPE_CALENDAR_CELL (e_calendar_cell_get_type ()) #define E_CALENDAR_CELL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), E_TYPE_CALENDAR_CELL, ECalendarCell)) @@ -83,8 +81,6 @@ struct _EaCalendarCellClass AtkObject* ea_calendar_cell_new (GObject *gobj); -#ifdef __cplusplus -} -#endif /* __cplusplus */ +G_END_DECLS #endif /* __EA_CALENDAR_CELL_H__ */ diff --git a/a11y/widgets/ea-calendar-item.h b/a11y/widgets/ea-calendar-item.h index b5f1b0ce81..36cc671a3b 100644 --- a/a11y/widgets/ea-calendar-item.h +++ b/a11y/widgets/ea-calendar-item.h @@ -26,9 +26,7 @@ #include <atk/atkgobjectaccessible.h> #include <misc/e-calendar-item.h> -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ +G_BEGIN_DECLS #define EA_TYPE_CALENDAR_ITEM (ea_calendar_item_get_type ()) #define EA_CALENDAR_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EA_TYPE_CALENDAR_ITEM, EaCalendarItem)) @@ -64,9 +62,7 @@ gboolean e_calendar_item_get_date_for_offset (ECalendarItem *calitem, gint e_calendar_item_get_n_days_from_week_start (ECalendarItem *calitem, gint year, gint month); -#ifdef __cplusplus -} -#endif /* __cplusplus */ +G_END_DECLS #endif /* __EA_CALENDAR_ITEM_H__ */ |