[grilo] doc: fix gtk-doc type parsing
- From: Victor Manuel Jaquez Leal <vjaquez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo] doc: fix gtk-doc type parsing
- Date: Tue, 7 Jun 2011 15:29:43 +0000 (UTC)
commit 90c0db144f99266752ca3091e0b24c701c3f9c97
Author: VÃctor Manuel Jáquez Leal <vjaquez igalia com>
Date: Tue Jun 7 14:37:25 2011 +0200
doc: fix gtk-doc type parsing
gtk-doc demands that the object structure is declared first and afterwards the
class structure
Signed-off-by: VÃctor Manuel Jáquez Leal <vjaquez igalia com>
src/data/grl-config.h | 19 +++++++++----------
src/data/grl-data.h | 21 ++++++++++-----------
src/data/grl-media-audio.h | 16 ++++++++--------
src/data/grl-media-box.h | 16 ++++++++--------
src/data/grl-media-image.h | 16 ++++++++--------
src/data/grl-media-video.h | 16 ++++++++--------
src/data/grl-media.h | 16 ++++++++--------
src/data/grl-related-keys.h | 20 ++++++++++----------
8 files changed, 69 insertions(+), 71 deletions(-)
---
diff --git a/src/data/grl-config.h b/src/data/grl-config.h
index 2079c93..ebd7a35 100644
--- a/src/data/grl-config.h
+++ b/src/data/grl-config.h
@@ -76,6 +76,15 @@ typedef struct _GrlConfig GrlConfig;
typedef struct _GrlConfigPrivate GrlConfigPrivate;
typedef struct _GrlConfigClass GrlConfigClass;
+struct _GrlConfig
+{
+ GObject parent;
+
+ GrlConfigPrivate *priv;
+
+ gpointer _grl_reserved[GRL_PADDING_SMALL];
+};
+
/**
* GrlConfigClass:
* @parent_class: the parent class structure
@@ -90,16 +99,6 @@ struct _GrlConfigClass
gpointer _grl_reserved[GRL_PADDING];
};
-struct _GrlConfig
-{
- GObject parent;
-
- /*< private >*/
- GrlConfigPrivate *priv;
-
- gpointer _grl_reserved[GRL_PADDING_SMALL];
-};
-
void grl_config_set_plugin (GrlConfig *config, const gchar *plugin);
void grl_config_set_source (GrlConfig *config, const gchar *source);
diff --git a/src/data/grl-data.h b/src/data/grl-data.h
index e1b7f26..ebcdcf3 100644
--- a/src/data/grl-data.h
+++ b/src/data/grl-data.h
@@ -63,8 +63,17 @@ G_BEGIN_DECLS
GrlDataClass))
typedef struct _GrlData GrlData;
-typedef struct _GrlDataPrivate GrlDataPrivate;
typedef struct _GrlDataClass GrlDataClass;
+typedef struct _GrlDataPrivate GrlDataPrivate;
+
+struct _GrlData
+{
+ GObject parent;
+
+ GrlDataPrivate *priv;
+
+ gpointer _grl_reserved[GRL_PADDING_SMALL];
+};
/**
* GrlDataClass:
@@ -80,16 +89,6 @@ struct _GrlDataClass
gpointer _grl_reserved[GRL_PADDING];
};
-struct _GrlData
-{
- GObject parent;
-
- /*< private >*/
- GrlDataPrivate *priv;
-
- gpointer _grl_reserved[GRL_PADDING_SMALL];
-};
-
GType grl_data_get_type (void) G_GNUC_CONST;
GrlData *grl_data_new (void);
diff --git a/src/data/grl-media-audio.h b/src/data/grl-media-audio.h
index 3c8066c..8f76b7f 100644
--- a/src/data/grl-media-audio.h
+++ b/src/data/grl-media-audio.h
@@ -63,6 +63,14 @@ G_BEGIN_DECLS
typedef struct _GrlMediaAudio GrlMediaAudio;
typedef struct _GrlMediaAudioClass GrlMediaAudioClass;
+struct _GrlMediaAudio
+{
+ GrlMedia parent;
+
+ /*< private >*/
+ gpointer _grl_reserved[GRL_PADDING_SMALL];
+};
+
/**
* GrlMediaAudioClass:
* @parent_class: the parent class structure
@@ -77,14 +85,6 @@ struct _GrlMediaAudioClass
gpointer _grl_reserved[GRL_PADDING];
};
-struct _GrlMediaAudio
-{
- GrlMedia parent;
-
- /*< private >*/
- gpointer _grl_reserved[GRL_PADDING_SMALL];
-};
-
void grl_media_audio_set_artist (GrlMediaAudio *audio, const gchar *artist);
void grl_media_audio_set_album (GrlMediaAudio *audio, const gchar *album);
diff --git a/src/data/grl-media-box.h b/src/data/grl-media-box.h
index 6a1101e..7216799 100644
--- a/src/data/grl-media-box.h
+++ b/src/data/grl-media-box.h
@@ -63,6 +63,14 @@ G_BEGIN_DECLS
typedef struct _GrlMediaBox GrlMediaBox;
typedef struct _GrlMediaBoxClass GrlMediaBoxClass;
+struct _GrlMediaBox
+{
+ GrlMedia parent;
+
+ /*< private >*/
+ gpointer _grl_reserved[GRL_PADDING_SMALL];
+};
+
/**
* GrlMediaBoxClass:
* @parent_class: the parent class structure
@@ -77,14 +85,6 @@ struct _GrlMediaBoxClass
gpointer _grl_reserved[GRL_PADDING];
};
-struct _GrlMediaBox
-{
- GrlMedia parent;
-
- /*< private >*/
- gpointer _grl_reserved[GRL_PADDING_SMALL];
-};
-
GType grl_media_box_get_type (void) G_GNUC_CONST;
GrlMedia *grl_media_box_new (void);
void grl_media_box_set_childcount (GrlMediaBox *box, gint childcount);
diff --git a/src/data/grl-media-image.h b/src/data/grl-media-image.h
index e7f46be..4149294 100644
--- a/src/data/grl-media-image.h
+++ b/src/data/grl-media-image.h
@@ -63,6 +63,14 @@ G_BEGIN_DECLS
typedef struct _GrlMediaImage GrlMediaImage;
typedef struct _GrlMediaImageClass GrlMediaImageClass;
+struct _GrlMediaImage
+{
+ GrlMedia parent;
+
+ /*< private >*/
+ gpointer _grl_reserved[GRL_PADDING_SMALL];
+};
+
/**
* GrlMediaImageClass:
* @parent_class: the parent class structure
@@ -77,14 +85,6 @@ struct _GrlMediaImageClass
gpointer _grl_reserved[GRL_PADDING];
};
-struct _GrlMediaImage
-{
- GrlMedia parent;
-
- /*< private >*/
- gpointer _grl_reserved[GRL_PADDING_SMALL];
-};
-
void grl_media_image_set_width (GrlMediaImage *image, gint width);
void grl_media_image_set_height (GrlMediaImage *image, gint height);
diff --git a/src/data/grl-media-video.h b/src/data/grl-media-video.h
index 4eba01c..4013b7a 100644
--- a/src/data/grl-media-video.h
+++ b/src/data/grl-media-video.h
@@ -63,6 +63,14 @@ G_BEGIN_DECLS
typedef struct _GrlMediaVideo GrlMediaVideo;
typedef struct _GrlMediaVideoClass GrlMediaVideoClass;
+struct _GrlMediaVideo
+{
+ GrlMedia parent;
+
+ /*< private >*/
+ gpointer _grl_reserved[GRL_PADDING_SMALL];
+};
+
/**
* GrlMediaVideoClass:
* @parent_class: the parent class structure
@@ -77,14 +85,6 @@ struct _GrlMediaVideoClass
gpointer _grl_reserved[GRL_PADDING];
};
-struct _GrlMediaVideo
-{
- GrlMedia parent;
-
- /*< private >*/
- gpointer _grl_reserved[GRL_PADDING_SMALL];
-};
-
void grl_media_video_set_width (GrlMediaVideo *video, gint width);
void grl_media_video_set_height (GrlMediaVideo *video, gint height);
diff --git a/src/data/grl-media.h b/src/data/grl-media.h
index ed8a3b1..242f16a 100644
--- a/src/data/grl-media.h
+++ b/src/data/grl-media.h
@@ -77,6 +77,14 @@ typedef enum {
typedef struct _GrlMedia GrlMedia;
typedef struct _GrlMediaClass GrlMediaClass;
+struct _GrlMedia
+{
+ GrlData parent;
+
+ /*< private >*/
+ gpointer _grl_reserved[GRL_PADDING_SMALL];
+};
+
/**
* GrlMediaClass:
* @parent_class: the parent class structure
@@ -91,14 +99,6 @@ struct _GrlMediaClass
gpointer _grl_reserved[GRL_PADDING];
};
-struct _GrlMedia
-{
- GrlData parent;
-
- /*< private >*/
- gpointer _grl_reserved[GRL_PADDING_SMALL];
-};
-
void grl_media_set_id (GrlMedia *media, const gchar *id);
void grl_media_set_url (GrlMedia *media, const gchar *url);
diff --git a/src/data/grl-related-keys.h b/src/data/grl-related-keys.h
index cb781d9..8c47e19 100644
--- a/src/data/grl-related-keys.h
+++ b/src/data/grl-related-keys.h
@@ -65,6 +65,16 @@ typedef struct _GrlRelatedKeys GrlRelatedKeys;
typedef struct _GrlRelatedKeysPrivate GrlRelatedKeysPrivate;
typedef struct _GrlRelatedKeysClass GrlRelatedKeysClass;
+struct _GrlRelatedKeys
+{
+ GObject parent;
+
+ /*< private >*/
+ GrlRelatedKeysPrivate *priv;
+
+ gpointer _grl_reserved[GRL_PADDING_SMALL];
+};
+
/**
* GrlRelatedKeysClass:
* @parent_class: the parent class structure
@@ -79,16 +89,6 @@ struct _GrlRelatedKeysClass
gpointer _grl_reserved[GRL_PADDING];
};
-struct _GrlRelatedKeys
-{
- GObject parent;
-
- /*< private >*/
- GrlRelatedKeysPrivate *priv;
-
- gpointer _grl_reserved[GRL_PADDING_SMALL];
-};
-
GType grl_related_keys_get_type (void) G_GNUC_CONST;
GrlRelatedKeys *grl_related_keys_new (void);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]