[PATCH 3/8] doc: Improve GrlMedia documentation



---
 src/data/grl-media.c |    1 +
 src/data/grl-media.h |   10 +++++++++-
 2 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/src/data/grl-media.c b/src/data/grl-media.c
index 7907777..8a2d46a 100644
--- a/src/data/grl-media.c
+++ b/src/data/grl-media.c
@@ -127,6 +127,7 @@ grl_media_serialize (GrlMedia *media)
  * grl_media_serialize_extended:
  * @media: a #GrlMedia
  * @serial_type: type of serialization
+ * @...: media keys to serialize
  *
  * Serializes a GrlMedia into a string.
  *
diff --git a/src/data/grl-media.h b/src/data/grl-media.h
index 9641a33..9369614 100644
--- a/src/data/grl-media.h
+++ b/src/data/grl-media.h
@@ -59,6 +59,14 @@ G_BEGIN_DECLS
                               GRL_TYPE_MEDIA,   \
                               GrlMediaClass))
 
+/**
+ * GrlMediaSerializeType:
+ * @GRL_MEDIA_SERIALIZE_BASIC: Basic mode
+ * @GRL_MEDIA_SERIALIZE_PARTIAL: Partial mode
+ * @GRL_MEDIA_SERIALIZE_FULL: Full mode
+ *
+ * GrlMedia serialize type
+ */
 typedef enum {
   GRL_MEDIA_SERIALIZE_BASIC,
   GRL_MEDIA_SERIALIZE_PARTIAL,
@@ -114,7 +122,7 @@ void grl_media_set_last_position (GrlMedia *data, gint last_position);
 
 void grl_media_set_external_player (GrlMedia *data, const gchar *player);
 
-void grl_media_set_external_url (GrlMedia *Data, const gchar *url);
+void grl_media_set_external_url (GrlMedia *data, const gchar *url);
 
 void grl_media_set_studio (GrlMedia *data, const gchar *studio);
 
-- 
1.7.0.4



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]