aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar/e-cal-config-meeting-time-selector.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-10-10 01:35:08 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-10-10 01:35:08 +0800
commit51e192f235cda7d70d76974ac4522280264fd011 (patch)
tree62d4d597986bb779491d6867f5b9771408de1ed2 /modules/calendar/e-cal-config-meeting-time-selector.h
parent27e8442447fccab49ffbf3be3d2d520bfbd5f6ba (diff)
downloadgsoc2013-evolution-51e192f235cda7d70d76974ac4522280264fd011.tar
gsoc2013-evolution-51e192f235cda7d70d76974ac4522280264fd011.tar.gz
gsoc2013-evolution-51e192f235cda7d70d76974ac4522280264fd011.tar.bz2
gsoc2013-evolution-51e192f235cda7d70d76974ac4522280264fd011.tar.lz
gsoc2013-evolution-51e192f235cda7d70d76974ac4522280264fd011.tar.xz
gsoc2013-evolution-51e192f235cda7d70d76974ac4522280264fd011.tar.zst
gsoc2013-evolution-51e192f235cda7d70d76974ac4522280264fd011.zip
ECalConfigMeetingTimeSelector: Use G_DEFINE_DYNAMIC_TYPE.
Follow the usual GObject conventions.
Diffstat (limited to 'modules/calendar/e-cal-config-meeting-time-selector.h')
-rw-r--r--modules/calendar/e-cal-config-meeting-time-selector.h40
1 files changed, 38 insertions, 2 deletions
diff --git a/modules/calendar/e-cal-config-meeting-time-selector.h b/modules/calendar/e-cal-config-meeting-time-selector.h
index b244263605..a2ede27baf 100644
--- a/modules/calendar/e-cal-config-meeting-time-selector.h
+++ b/modules/calendar/e-cal-config-meeting-time-selector.h
@@ -19,12 +19,48 @@
#ifndef E_CAL_CONFIG_MEETING_TIME_SELECTOR_H
#define E_CAL_CONFIG_MEETING_TIME_SELECTOR_H
-#include <glib-object.h>
+#include <libebackend/libebackend.h>
+
+/* Standard GObject macros */
+#define E_TYPE_CAL_CONFIG_MEETING_TIME_SELECTOR \
+ (e_cal_config_meeting_time_selector_get_type ())
+#define E_CAL_CONFIG_MEETING_TIME_SELECTOR(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST \
+ ((obj), E_TYPE_CAL_CONFIG_MEETING_TIME_SELECTOR, ECalConfigMeetingTimeSelector))
+#define E_CAL_CONFIG_MEETING_TIME_SELECTOR_CLASS(cls) \
+ (G_TYPE_CHECK_CLASS_CAST \
+ ((cls), E_TYPE_CAL_CONFIG_MEETING_TIME_SELECTOR, ECalConfigMeetingTimeSelectorClass))
+#define E_IS_CAL_CONFIG_MEETING_TIME_SELECTOR(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE \
+ ((obj), E_TYPE_CAL_CONFIG_MEETING_TIME_SELECTOR))
+#define E_IS_CAL_CONFIG_MEETING_TIME_SELECTOR_CLASS(cls) \
+ (G_TYPE_CHECK_CLASS_TYPE \
+ ((cls), E_TYPE_CAL_CONFIG_MEETING_TIME_SELECTOR))
+#define E_CAL_CONFIG_MEETING_TIME_SELECTOR_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS \
+ ((obj), E_TYPE_CAL_CONFIG_MEETING_TIME_SELECTOR, ECalConfigMeetingTimeSelectorClass))
G_BEGIN_DECLS
-void e_cal_config_meeting_time_selector_register_type (GTypeModule *type_module);
+typedef struct _ECalConfigMeetingTimeSelector ECalConfigMeetingTimeSelector;
+typedef struct _ECalConfigMeetingTimeSelectorClass ECalConfigMeetingTimeSelectorClass;
+typedef struct _ECalConfigMeetingTimeSelectorPrivate ECalConfigMeetingTimeSelectorPrivate;
+
+struct _ECalConfigMeetingTimeSelector {
+ EExtension parent;
+ ECalConfigMeetingTimeSelectorPrivate *priv;
+};
+
+struct _ECalConfigMeetingTimeSelectorClass {
+ EExtensionClass parent_class;
+};
+
+GType e_cal_config_meeting_time_selector_get_type
+ (void) G_GNUC_CONST;
+void e_cal_config_meeting_time_selector_type_register
+ (GTypeModule *type_module);
G_END_DECLS
#endif /* E_CAL_CONFIG_MEETING_TIME_SELECTOR_H */
+