summaryrefslogtreecommitdiff
path: root/telepathy-glib/group-mixin.h
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2011-04-20 13:45:42 +0100
committerWill Thompson <will.thompson@collabora.co.uk>2011-04-20 17:45:53 +0100
commitf0b95290ea868a504b11f34dff4ca698d236f5ac (patch)
treeacbe027a40462300ae0acbd756acc3369d595964 /telepathy-glib/group-mixin.h
parent34eda44d389de3804be2d29e5bb90cfead9921c8 (diff)
downloadtelepathy-glib-f0b95290ea868a504b11f34dff4ca698d236f5ac.tar.gz
Move instance struct definitions above classes.
This works around a regression in gtk-doc which prevents the fields of these structs being picked up. Moving these three instance structs above their corresponding classes seems to do the job. The issue doesn't seem to affect other headers, and I have no idea why not.
Diffstat (limited to 'telepathy-glib/group-mixin.h')
-rw-r--r--telepathy-glib/group-mixin.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/telepathy-glib/group-mixin.h b/telepathy-glib/group-mixin.h
index 78640fb9f..caf8ce31e 100644
--- a/telepathy-glib/group-mixin.h
+++ b/telepathy-glib/group-mixin.h
@@ -91,27 +91,6 @@ void tp_group_mixin_class_set_remove_with_reason_func (GObjectClass *cls,
TpGroupMixinRemMemberWithReasonFunc func);
/**
- * TpGroupMixinClass:
- * @add_member: The add-member function that was passed to
- * tp_group_mixin_class_init()
- * @remove_member: The remove-member function that was passed to
- * tp_group_mixin_class_init()
- * @priv: Pointer to opaque private data
- *
- * Structure representing the group mixin as used in a particular class.
- * To be placed in the implementation's class structure.
- *
- * Initialize this with tp_group_mixin_class_init().
- *
- * All fields should be considered read-only.
- */
-struct _TpGroupMixinClass {
- TpGroupMixinAddMemberFunc add_member;
- TpGroupMixinRemMemberFunc remove_member;
- TpGroupMixinClassPrivate *priv;
-};
-
-/**
* TpGroupMixin:
* @handle_repo: The connection's contact handle repository
* @self_handle: The local user's handle within this group, or 0 if none.
@@ -144,6 +123,27 @@ struct _TpGroupMixin {
TpGroupMixinPrivate *priv;
};
+/**
+ * TpGroupMixinClass:
+ * @add_member: The add-member function that was passed to
+ * tp_group_mixin_class_init()
+ * @remove_member: The remove-member function that was passed to
+ * tp_group_mixin_class_init()
+ * @priv: Pointer to opaque private data
+ *
+ * Structure representing the group mixin as used in a particular class.
+ * To be placed in the implementation's class structure.
+ *
+ * Initialize this with tp_group_mixin_class_init().
+ *
+ * All fields should be considered read-only.
+ */
+struct _TpGroupMixinClass {
+ TpGroupMixinAddMemberFunc add_member;
+ TpGroupMixinRemMemberFunc remove_member;
+ TpGroupMixinClassPrivate *priv;
+};
+
/* TYPE MACROS */
#define TP_GROUP_MIXIN_CLASS_OFFSET_QUARK \
(tp_group_mixin_class_get_offset_quark ())