From f9ffebc2f7a6fb285e686133dcccf17766c2ba79 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 21 Nov 2011 09:51:03 -0500 Subject: Mail widget cleanups. --- mail/em-config.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'mail/em-config.h') diff --git a/mail/em-config.h b/mail/em-config.h index 24a75fb511..a90ecf3262 100644 --- a/mail/em-config.h +++ b/mail/em-config.h @@ -29,6 +29,25 @@ #include "e-util/e-config.h" +/* Standard GObject macros */ +#define EM_TYPE_CONFIG \ + (em_config_get_type ()) +#define EM_CONFIG(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST \ + ((obj), EM_TYPE_CONFIG, EMConfig)) +#define EM_CONFIG_CLASS(cls) \ + (G_TYPE_CHECK_CLASS_CAST \ + ((cls), EM_TYPE_CONFIG, EMConfigClass)) +#define EM_IS_CONFIG(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE \ + ((obj), EM_TYPE_CONFIG)) +#define EM_IS_CONFIG_CLASS(cls) \ + (G_TYPE_CHECK_CLASS_TYPE \ + ((cls), EM_TYPE_CONFIG, EMConfigClass)) +#define EM_CONFIG_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS \ + ((obj), EM_TYPE_CONFIG, EMConfigClass)) + G_BEGIN_DECLS typedef struct _EMConfig EMConfig; -- cgit