aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-event.h
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-event.h')
-rw-r--r--mail/em-event.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/mail/em-event.h b/mail/em-event.h
index 3fc5ac0fc3..d48341a0b8 100644
--- a/mail/em-event.h
+++ b/mail/em-event.h
@@ -27,6 +27,25 @@
#include "e-util/e-event.h"
#include "composer/e-msg-composer.h"
+/* Standard GObject macros */
+#define EM_TYPE_EVENT \
+ (em_event_get_type ())
+#define EM_EVENT(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST \
+ ((obj), EM_TYPE_EVENT, EMEvent))
+#define EM_EVENT_CLASS(cls) \
+ (G_TYPE_CHECK_CLASS_CAST \
+ ((cls), EM_TYPE_EVENT, EMEventClass))
+#define EM_IS_EVENT(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE \
+ ((obj), EM_TYPE_EVENT))
+#define EM_IS_EVENT_CLASS(cls) \
+ (G_TYPE_CHECK_CLASS_TYPE \
+ ((cls), EM_TYPE_EVENT))
+#define EM_EVENT_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS \
+ ((obj), EM_TYPE_EVENT, EMEventClass))
+
G_BEGIN_DECLS
typedef struct _EMEvent EMEvent;