diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-03-06 01:33:49 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:41 +0800 |
commit | 7aacf983b32ecac26bc9707697da622b3ef164a3 (patch) | |
tree | 754e32b12d21674efa6d55c7a1c8727477197dd4 /calendar/gui/e-cal-config.h | |
parent | bca1a2c5ea655a8cfacedadf8a9a6c6b62d2b0ab (diff) | |
download | gsoc2013-evolution-7aacf983b32ecac26bc9707697da622b3ef164a3.tar.gz gsoc2013-evolution-7aacf983b32ecac26bc9707697da622b3ef164a3.tar.zst gsoc2013-evolution-7aacf983b32ecac26bc9707697da622b3ef164a3.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'calendar/gui/e-cal-config.h')
-rw-r--r-- | calendar/gui/e-cal-config.h | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/calendar/gui/e-cal-config.h b/calendar/gui/e-cal-config.h index 828bcf4cb4..f92886b1f8 100644 --- a/calendar/gui/e-cal-config.h +++ b/calendar/gui/e-cal-config.h @@ -29,8 +29,24 @@ #include <libecal/e-cal.h> #include "e-util/e-config.h" -#define E_TYPE_CAL_CONFIG (e_cal_config_get_type()) -#define E_CAL_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), E_TYPE_CAL_CONFIG, ECalConfig)) +/* Standard GObject macros */ +#define E_TYPE_CAL_CONFIG \ + (e_cal_config_get_type ()) +#define E_CAL_CONFIG(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST \ + ((obj), E_TYPE_CAL_CONFIG, ECalConfig)) +#define E_CAL_CONFIG_CLASS(cls) \ + (G_TYPE_CHECK_CLASS_CAST \ + ((cls), E_TYPE_CAL_CONFIG, ECalConfigClass)) +#define E_IS_CAL_CONFIG(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE \ + ((obj), E_TYPE_CAL_CONFIG)) +#define E_IS_CAL_CONFIG_CLASS(cls) \ + (G_TYPE_CHECK_CLASS_TYPE \ + ((cls), E_TYPE_CAL_CONFIG)) +#define E_CAL_CONFIG_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS \ + ((obj), E_TYPE_CAL_CONFIG, ECalConfigClass)) G_BEGIN_DECLS |