summaryrefslogtreecommitdiffstats
path: root/src/itdb_photoalbum.c
diff options
context:
space:
mode:
authorTodd Zullinger <tmzullinger@users.sourceforge.net>2007-01-11 07:10:55 +0000
committerTodd Zullinger <tmzullinger@users.sourceforge.net>2007-01-11 07:10:55 +0000
commit517d4c9dca936c1a0ccb93271a3fa492df9951fc (patch)
treed06c5b7bb275916821dacf79cf68b51afab4de05 /src/itdb_photoalbum.c
parent22851021f35d76c849b55da808da2b3e44eef3c7 (diff)
downloadlibgpod-tmz-517d4c9dca936c1a0ccb93271a3fa492df9951fc.tar.gz
libgpod-tmz-517d4c9dca936c1a0ccb93271a3fa492df9951fc.tar.xz
libgpod-tmz-517d4c9dca936c1a0ccb93271a3fa492df9951fc.zip
Add PhotoDB functions to the docs.
Incorporate usage overviews from README into the docs. Fix a few doc comments to allow gtk-doc to parse them. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1356 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src/itdb_photoalbum.c')
-rw-r--r--src/itdb_photoalbum.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/itdb_photoalbum.c b/src/itdb_photoalbum.c
index 3fd10c7..108ae76 100644
--- a/src/itdb_photoalbum.c
+++ b/src/itdb_photoalbum.c
@@ -51,7 +51,7 @@
memory). It is automatically added to the Photo Library Album
(first album), which is created if it does not exist already.
- itdb_photodb_photoalbum_craete():
+ itdb_photodb_photoalbum_create():
Create and add a new photoalbum.
itdb_photodb_photoalbum_add_photo():
@@ -198,12 +198,11 @@ gchar *itdb_get_photos_thumb_dir (const gchar *mountpoint)
/**
* itdb_photodb_parse:
- *
- * Parses the photo database of an iPod mounted at @mp.
- *
* @mp: mountpoint of the iPod
* @error: will contain the error description when an error occured.
*
+ * Parses the photo database of an iPod mounted at @mp.
+ *
* Return value: the imported PhotoDB or NULL in case of an error.
**/
Itdb_PhotoDB *itdb_photodb_parse (const gchar *mp, GError **error)
@@ -229,7 +228,6 @@ Itdb_PhotoDB *itdb_photodb_parse (const gchar *mp, GError **error)
/**
* itdb_photodb_create:
- *
* @mountpoint: mountpoint or NULL.
*
* Creates a new Itdb_PhotoDB. If mountpoint is NULL, you will have to
@@ -582,6 +580,9 @@ void itdb_photodb_remove_photo (Itdb_PhotoDB *db,
* @albumname: the name of the photoalbum to get or NULL for the
* master photoalbum.
*
+ * Find the first photoalbum with a given name or the Photo Library
+ * Album if called with no name.
+ *
* Return value: a pointer to the first photoalbum named @albumname,
* else NULL
*/
@@ -603,7 +604,7 @@ Itdb_PhotoAlbum *itdb_photodb_photoalbum_by_name (Itdb_PhotoDB *db, const gchar
}
/**
- * itdb_photodb_remove_photoalbum:
+ * itdb_photodb_photoalbum_remove:
* @db: the #Itdb_PhotoDB to apply changes to
* @album: the album to be removed from the database
* @remove_pics: TRUE to remove pics in that album permanently from
@@ -670,10 +671,12 @@ void itdb_photodb_photoalbum_add_photo (Itdb_PhotoDB *db,
/**
* itdb_photodb_photoalbum_create:
* @db: The database to create a new album in
- * @album_name: the name of the new album
+ * @albumname: the name of the new album
* @pos: position where to insert the newly created album (-1 for
* append to end).
*
+ * Create and add a new photoalbum.
+ *
* Return value: the album which was created and added.
*/
Itdb_PhotoAlbum *itdb_photodb_photoalbum_create (Itdb_PhotoDB *db,