summaryrefslogtreecommitdiffstats
path: root/src/itdb_chapterdata.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/itdb_chapterdata.c')
-rw-r--r--src/itdb_chapterdata.c36
1 files changed, 27 insertions, 9 deletions
diff --git a/src/itdb_chapterdata.c b/src/itdb_chapterdata.c
index c632ae0..99058c7 100644
--- a/src/itdb_chapterdata.c
+++ b/src/itdb_chapterdata.c
@@ -43,7 +43,9 @@
*
* Return value: a new #Itdb_Chapterdata to be freed with
* itdb_chapterdata_free() when no longer needed
- **/
+ *
+ * Since: 0.7.0
+ */
Itdb_Chapterdata *itdb_chapterdata_new (void)
{
Itdb_Chapterdata *chapterdata = g_new0 (Itdb_Chapterdata, 1);
@@ -55,7 +57,9 @@ Itdb_Chapterdata *itdb_chapterdata_new (void)
* @chapterdata: an #Itdb_Chapterdata
*
* Frees memory used by @chapterdata
- **/
+ *
+ * Since: 0.7.0
+ */
void itdb_chapterdata_free (Itdb_Chapterdata *chapterdata)
{
g_return_if_fail (chapterdata);
@@ -93,7 +97,9 @@ static GList *dup_chapters (GList *chapters)
* Duplicates @chapterdata
*
* Return value: a new copy of @chapterdata
- **/
+ *
+ * Since: 0.7.0
+ */
Itdb_Chapterdata *itdb_chapterdata_duplicate (Itdb_Chapterdata *chapterdata)
{
Itdb_Chapterdata *dup;
@@ -119,7 +125,9 @@ Itdb_Chapterdata *itdb_chapterdata_duplicate (Itdb_Chapterdata *chapterdata)
* @chapter: an #Itdb_Chapter
*
* Removes @chapter from @chapterdata. The memory used by @chapter is freed.
- **/
+ *
+ * Since: 0.7.0
+ */
void
itdb_chapterdata_remove_chapter (Itdb_Chapterdata *chapterdata, Itdb_Chapter *chapter)
{
@@ -135,7 +143,9 @@ itdb_chapterdata_remove_chapter (Itdb_Chapterdata *chapterdata, Itdb_Chapter *ch
* @chapterdata: an #Itdb_Chapterdata
*
* Removes all chapters from @chapterdata
- **/
+ *
+ * Since: 0.7.0
+ */
void
itdb_chapterdata_remove_chapters (Itdb_Chapterdata *chapterdata)
{
@@ -156,7 +166,9 @@ itdb_chapterdata_remove_chapters (Itdb_Chapterdata *chapterdata)
*
* Return Value: newly allocated #Itdb_Chapter to be freed with itdb_chapter_free()
* after use
- **/
+ *
+ * Since: 0.7.0
+ */
Itdb_Chapter *itdb_chapter_new (void)
{
Itdb_Chapter *chapter = g_new0 (Itdb_Chapter, 1);
@@ -168,7 +180,9 @@ Itdb_Chapter *itdb_chapter_new (void)
* @chapter: an #Itdb_Chapter
*
* Frees the memory used by @chapter
- **/
+ *
+ * Since: 0.7.0
+ */
void itdb_chapter_free (Itdb_Chapter *chapter)
{
g_return_if_fail (chapter);
@@ -185,7 +199,9 @@ void itdb_chapter_free (Itdb_Chapter *chapter)
*
* Return value: a newly allocated copy of @chapter to be freed with
* itdb_chapter_free() after use
- **/
+ *
+ * Since: 0.7.0
+ */
Itdb_Chapter *itdb_chapter_duplicate (Itdb_Chapter *chapter)
{
Itdb_Chapter *new_chapter;
@@ -209,7 +225,9 @@ Itdb_Chapter *itdb_chapter_duplicate (Itdb_Chapter *chapter)
*
* Return value: TRUE if the chapter could be successfully added, FALSE
* otherwise.
- **/
+ *
+ * Since: 0.7.0
+ */
gboolean
itdb_chapterdata_add_chapter (Itdb_Chapterdata *chapterdata,
gint32 startpos,