[totem-pl-parser] docs: Fix ID conflicts in documentation
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem-pl-parser] docs: Fix ID conflicts in documentation
- Date: Wed, 21 Dec 2011 14:03:12 +0000 (UTC)
commit 96475716081db3e6e49e9a29c9b0adeb7bbcd2ae
Author: Philip Withnall <philip tecnocode co uk>
Date: Wed Dec 21 12:55:15 2011 +0000
docs: Fix ID conflicts in documentation
plparse/totem-pl-parser.h | 14 ++++++--------
plparse/totem-pl-playlist.h | 18 ++++++++----------
2 files changed, 14 insertions(+), 18 deletions(-)
---
diff --git a/plparse/totem-pl-parser.h b/plparse/totem-pl-parser.h
index e7c35dc..3aa9945 100644
--- a/plparse/totem-pl-parser.h
+++ b/plparse/totem-pl-parser.h
@@ -57,19 +57,17 @@ typedef enum {
TOTEM_PL_PARSER_RESULT_CANCELLED
} TotemPlParserResult;
+typedef struct TotemPlParserPrivate TotemPlParserPrivate;
+
/**
* TotemPlParser:
*
* All the fields in the #TotemPlParser structure are private and should never be accessed directly.
**/
-typedef struct _TotemPlParser TotemPlParser;
-typedef struct TotemPlParserClass TotemPlParserClass;
-typedef struct TotemPlParserPrivate TotemPlParserPrivate;
-
-struct _TotemPlParser {
+typedef struct {
GObject parent;
TotemPlParserPrivate *priv;
-};
+} TotemPlParser;
/* Known metadata fields */
@@ -273,7 +271,7 @@ struct _TotemPlParser {
*
* The class structure for the #TotemPlParser type.
**/
-struct TotemPlParserClass {
+typedef struct {
GObjectClass parent_class;
/* signals */
@@ -285,7 +283,7 @@ struct TotemPlParserClass {
GHashTable *metadata);
void (*playlist_ended) (TotemPlParser *parser,
const char *uri);
-};
+} TotemPlParserClass;
/**
* TotemPlParserType:
diff --git a/plparse/totem-pl-playlist.h b/plparse/totem-pl-playlist.h
index c8a9968..ee7b206 100644
--- a/plparse/totem-pl-playlist.h
+++ b/plparse/totem-pl-playlist.h
@@ -32,37 +32,35 @@ G_BEGIN_DECLS
#define TOTEM_IS_PL_PLAYLIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TOTEM_TYPE_PL_PLAYLIST))
#define TOTEM_IS_PL_PLAYLIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TOTEM_TYPE_PL_PLAYLIST))
-typedef struct TotemPlPlaylist TotemPlPlaylist;
-typedef struct TotemPlPlaylistClass TotemPlPlaylistClass;
-typedef struct TotemPlPlaylistIter TotemPlPlaylistIter;
-
/**
* TotemPlPlaylist:
*
* All the fields in the #TotemPlPlaylist structure are private and should never be accessed directly.
**/
-struct TotemPlPlaylist {
+typedef struct {
GObject parent_instance;
-};
+} TotemPlPlaylist;
/**
* TotemPlPlaylistClass:
+ * @parent_class: the parent class
*
* All the fields in the #TotemPlPlaylistClass structure are private and should never be accessed directly.
**/
-struct TotemPlPlaylistClass {
+typedef struct {
GObjectClass parent_class;
-};
+} TotemPlPlaylistClass;
/**
* TotemPlPlaylistIter:
*
* All the fields in the #TotemPlPlaylistIter structure are private and should never be accessed directly.
**/
-struct TotemPlPlaylistIter {
+typedef struct {
+ /*< private >*/
gpointer data1;
gpointer data2;
-};
+} TotemPlPlaylistIter;
GType totem_pl_playlist_get_type (void) G_GNUC_CONST;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]