diff options
author | Christophe Fergeau <teuf@gnome.org> | 2008-07-29 21:54:46 +0000 |
---|---|---|
committer | Christophe Fergeau <teuf@gnome.org> | 2008-07-29 21:54:46 +0000 |
commit | 3fac8995fffdff1f1375f5b1c2a6233c4f779081 (patch) | |
tree | f35c1ade27ce9d000b2d2c4f40227b30d04d4dab | |
parent | a263adccde5c8fac5d57dc622326f83ca36b9a47 (diff) | |
download | libgpod-3fac8995fffdff1f1375f5b1c2a6233c4f779081.tar.gz libgpod-3fac8995fffdff1f1375f5b1c2a6233c4f779081.tar.xz libgpod-3fac8995fffdff1f1375f5b1c2a6233c4f779081.zip |
Fix a few issues in the API doc after the API changes that went on
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2072 f01d2545-417e-4e96-918e-98f8d0dbbcb6
-rw-r--r-- | docs/reference/libgpod-sections.txt | 10 | ||||
-rw-r--r-- | docs/reference/tmpl/artwork.sgml | 25 | ||||
-rw-r--r-- | src/itdb_artwork.c | 6 |
3 files changed, 29 insertions, 12 deletions
diff --git a/docs/reference/libgpod-sections.txt b/docs/reference/libgpod-sections.txt index 966104c..e415a94 100644 --- a/docs/reference/libgpod-sections.txt +++ b/docs/reference/libgpod-sections.txt @@ -178,20 +178,14 @@ Itdb_ArtworkFormat <TITLE>Artwork</TITLE> Itdb_Artwork Itdb_Thumb -ItdbThumbType itdb_artwork_new itdb_artwork_duplicate itdb_artwork_free -itdb_artwork_add_thumbnail -itdb_artwork_add_thumbnail_from_data -itdb_artwork_add_thumbnail_from_pixbuf -itdb_artwork_remove_thumbnail +itdb_artwork_set_thumbnail_from_data +itdb_artwork_set_thumbnail_from_pixbuf itdb_artwork_remove_thumbnails -itdb_artwork_get_thumb_by_type itdb_thumb_duplicate itdb_thumb_free -itdb_thumb_new -itdb_thumb_get_filename </SECTION> <SECTION> diff --git a/docs/reference/tmpl/artwork.sgml b/docs/reference/tmpl/artwork.sgml index b0ebdce..a93704b 100644 --- a/docs/reference/tmpl/artwork.sgml +++ b/docs/reference/tmpl/artwork.sgml @@ -75,6 +75,31 @@ album/track artwork. For working with photos, see the @artwork: +<!-- ##### FUNCTION itdb_artwork_set_thumbnail_from_data ##### --> +<para> + +</para> + +@artwork: +@image_data: +@image_data_len: +@rotation: +@error: +@Returns: + + +<!-- ##### FUNCTION itdb_artwork_set_thumbnail_from_pixbuf ##### --> +<para> + +</para> + +@artwork: +@pixbuf: +@rotation: +@error: +@Returns: + + <!-- ##### FUNCTION itdb_artwork_remove_thumbnails ##### --> <para> diff --git a/src/itdb_artwork.c b/src/itdb_artwork.c index 4cc81c0..27299df 100644 --- a/src/itdb_artwork.c +++ b/src/itdb_artwork.c @@ -178,9 +178,8 @@ itdb_artwork_set_thumbnail (Itdb_Artwork *artwork, } /** - * itdb_artwork_add_thumbnail_from_pixbuf + * itdb_artwork_set_thumbnail_from_pixbuf * @artwork: an #Itdb_Thumbnail - * @type: thumbnail size * @pixbuf: #GdkPixbuf to use to create the thumbnail * @rotation: angle by which the image should be rotated * counterclockwise. Valid values are 0, 90, 180 and 270. @@ -238,9 +237,8 @@ itdb_artwork_set_thumbnail_from_pixbuf (Itdb_Artwork *artwork, } /** - * itdb_artwork_add_thumbnail_from_data + * itdb_artwork_set_thumbnail_from_data * @artwork: an #Itdb_Thumbnail - * @type: thumbnail size * @image_data: data used to create the thumbnail (the raw contents of * an image file) * @image_data_len: length of above data block |