diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-03-06 01:33:49 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-03-06 01:34:28 +0800 |
commit | c6fd77460f5baf88528f5da2ffb99e86a2885ff0 (patch) | |
tree | 377ddb36bc9c907a06d5889123582b2066db42a8 /calendar/gui/e-cal-config.h | |
parent | 29d8b02c557a65aec4b015b274a830b402da2cfd (diff) | |
download | gsoc2013-evolution-c6fd77460f5baf88528f5da2ffb99e86a2885ff0.tar.gz gsoc2013-evolution-c6fd77460f5baf88528f5da2ffb99e86a2885ff0.tar.zst gsoc2013-evolution-c6fd77460f5baf88528f5da2ffb99e86a2885ff0.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 |