summaryrefslogtreecommitdiff
path: root/libmediaart/extract.c
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2013-10-16 19:20:18 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2013-10-17 18:15:28 +0100
commiteffbdb8720f8c52fd5b20b720272e3b99e7dbc6a (patch)
tree052c87ef77db41755f52c6dcae66ae8ad786cba4 /libmediaart/extract.c
parent75ea95aa188d4104287f3a3a9edc164358e91912 (diff)
downloadlibmediaart-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.
Diffstat (limited to 'libmediaart/extract.c')
-rw-r--r--libmediaart/extract.c4
1 files changed, 2 insertions, 2 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)