commit c26748ed12f97e725fcde9a0529cf9e9495f6f86 Author: Christophe Fergeau <cferg...@mandriva.com> Date: Sun Feb 28 00:39:18 2010 +0100
fix ITDB_PSO_BITRATE typo It was mispelled, fix the typo in the public API and add a #define for the mistyped value to avoid breaking API. docs/reference/tmpl/playlists.sgml | 2 +- src/itdb.h | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) --- diff --git a/docs/reference/tmpl/playlists.sgml b/docs/reference/tmpl/playlists.sgml index 1bfcdb8..f34dffe 100644 --- a/docs/reference/tmpl/playlists.sgml +++ b/docs/reference/tmpl/playlists.sgml @@ -59,7 +59,7 @@ a playlist, etc. @ITDB_PSO_TITLE: @ITDB_PSO_ALBUM: @ITDB_PSO_ARTIST: -...@itdb_pso_birate: +...@itdb_pso_bitrate: @ITDB_PSO_GENRE: @ITDB_PSO_FILETYPE: @ITDB_PSO_TIME_MODIFIED: diff --git a/src/itdb.h b/src/itdb.h index c9008d1..cb040fb 100644 --- a/src/itdb.h +++ b/src/itdb.h @@ -1123,7 +1123,7 @@ struct _Itdb_Playlist * @ITDB_PSO_TITLE: Sort by track title * @ITDB_PSO_ALBUM: Sort by album * @ITDB_PSO_ARTIST: Sort by artist - * @ITDB_PSO_BIRATE: Sort by bitrate + * @ITDB_PSO_BITRATE: Sort by bitrate * @ITDB_PSO_GENRE: Sort by genre * @ITDB_PSO_FILETYPE: Sort by filetype * @ITDB_PSO_TIME_MODIFIED: Sort by date modified @@ -1157,7 +1157,7 @@ typedef enum ITDB_PSO_TITLE = 3, ITDB_PSO_ALBUM = 4, ITDB_PSO_ARTIST = 5, - ITDB_PSO_BIRATE = 6, + ITDB_PSO_BITRATE = 6, ITDB_PSO_GENRE = 7, ITDB_PSO_FILETYPE = 8, ITDB_PSO_TIME_MODIFIED = 9, @@ -1181,6 +1181,11 @@ typedef enum ITDB_PSO_CATEGORY = 27, ITDB_PSO_DESCRIPTION = 28 } ItdbPlaylistSortOrder; +/* libgpod 0.7.90 and earlier had a typo in ITDB_PSO_BITRATE, workaround + * that typo and avoid breaking the API (even if I doubt there are users + * of this) + */ +#define ITDB_PSO_BIRATE ITDB_PSO_BITRATE /** ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ gtkpod-cvs2 mailing list gtkpod-cvs2@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2