aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar/e-cal-config-view.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-10-10 02:00:00 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-10-10 02:00:00 +0800
commit55d5344510bd2991259d9b202988024b00c957d8 (patch)
tree85f55738517429ec505a2eddfe31efb969c081f3 /modules/calendar/e-cal-config-view.h
parent09438389c17a2b542d3c055e287f22fa3a1b6513 (diff)
downloadgsoc2013-evolution-55d5344510bd2991259d9b202988024b00c957d8.tar
gsoc2013-evolution-55d5344510bd2991259d9b202988024b00c957d8.tar.gz
gsoc2013-evolution-55d5344510bd2991259d9b202988024b00c957d8.tar.bz2
gsoc2013-evolution-55d5344510bd2991259d9b202988024b00c957d8.tar.lz
gsoc2013-evolution-55d5344510bd2991259d9b202988024b00c957d8.tar.xz
gsoc2013-evolution-55d5344510bd2991259d9b202988024b00c957d8.tar.zst
gsoc2013-evolution-55d5344510bd2991259d9b202988024b00c957d8.zip
ECalConfigView: Use G_DEFINE_DYNAMIC_TYPE.
Follow the usual GObject conventions.
Diffstat (limited to 'modules/calendar/e-cal-config-view.h')
-rw-r--r--modules/calendar/e-cal-config-view.h37
1 files changed, 35 insertions, 2 deletions
diff --git a/modules/calendar/e-cal-config-view.h b/modules/calendar/e-cal-config-view.h
index e36acddf0c..3c9f1dbe02 100644
--- a/modules/calendar/e-cal-config-view.h
+++ b/modules/calendar/e-cal-config-view.h
@@ -19,11 +19,44 @@
#ifndef E_CAL_CONFIG_VIEW_H
#define E_CAL_CONFIG_VIEW_H
-#include <glib-object.h>
+#include <libebackend/libebackend.h>
+
+/* Standard GObject macros */
+#define E_TYPE_CAL_CONFIG_VIEW \
+ (e_cal_config_view_get_type ())
+#define E_CAL_CONFIG_VIEW(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST \
+ ((obj), E_TYPE_CAL_CONFIG_VIEW, ECalConfigView))
+#define E_CAL_CONFIG_VIEW_CLASS(cls) \
+ (G_TYPE_CHECK_CLASS_CAST \
+ ((cls), E_TYPE_CAL_CONFIG_VIEW, ECalConfigViewClass))
+#define E_IS_CAL_CONFIG_VIEW(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE \
+ ((obj), E_TYPE_CAL_CONFIG_VIEW))
+#define E_IS_CAL_CONFIG_VIEW_CLASS(cls) \
+ (G_TYPE_CHECK_CLASS_TYPE \
+ ((cls), E_TYPE_CAL_CONFIG_VIEW))
+#define E_CAL_CONFIG_VIEW_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS \
+ ((obj), E_TYPE_CAL_CONFIG_VIEW, ECalConfigViewClass))
G_BEGIN_DECLS
-void e_cal_config_view_register_type (GTypeModule *type_module);
+typedef struct _ECalConfigView ECalConfigView;
+typedef struct _ECalConfigViewClass ECalConfigViewClass;
+typedef struct _ECalConfigViewPrivate ECalConfigViewPrivate;
+
+struct _ECalConfigView {
+ EExtension parent;
+ ECalConfigViewPrivate *priv;
+};
+
+struct _ECalConfigViewClass {
+ EExtensionClass parent_class;
+};
+
+GType e_cal_config_view_get_type (void) G_GNUC_CONST;
+void e_cal_config_view_type_register (GTypeModule *type_module);
G_END_DECLS