diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2013-10-16 19:20:18 +0100 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2013-10-17 18:15:28 +0100 |
commit | effbdb8720f8c52fd5b20b720272e3b99e7dbc6a (patch) | |
tree | 052c87ef77db41755f52c6dcae66ae8ad786cba4 | |
parent | 75ea95aa188d4104287f3a3a9edc164358e91912 (diff) | |
download | libmediaart-effbdb8720f8c52fd5b20b720272e3b99e7dbc6a.tar.gz |
extract: Be consistent about parameter ordering
The media_art_process() and media_art_process_file() functions should
take arguments in the same order as each other.
-rw-r--r-- | libmediaart/extract.c | 4 | ||||
-rw-r--r-- | libmediaart/extract.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libmediaart/extract.c b/libmediaart/extract.c index eb216a0..adf1a99 100644 --- a/libmediaart/extract.c +++ b/libmediaart/extract.c @@ -1107,8 +1107,8 @@ get_mtime_by_uri (const gchar *uri) * media_art_process_file: * @buffer: (array length=len)(allow-none): a buffer containing @file data, or %NULL * @len: length of @buffer, or 0 - * @type: The type of media * @mime: MIME type of @buffer, or %NULL + * @type: The type of media * @artist: The media file artist name, or %NULL * @title: The media file title, or %NULL * @file: File to be processed @@ -1129,8 +1129,8 @@ get_mtime_by_uri (const gchar *uri) gboolean media_art_process_file (const guchar *buffer, gsize len, - MediaArtType type, const gchar *mime, + MediaArtType type, const gchar *artist, const gchar *title, GFile *file) diff --git a/libmediaart/extract.h b/libmediaart/extract.h index 8b521cf..3744923 100644 --- a/libmediaart/extract.h +++ b/libmediaart/extract.h @@ -59,8 +59,8 @@ gboolean media_art_process (const unsigned char *buffer, gboolean media_art_process_file (const guchar *buffer, gsize len, - MediaArtType type, const gchar *mime, + MediaArtType type, const gchar *artist, const gchar *title, GFile *file); |