[libmediaart/api-cleanup: 5/14] extract: rename (private) media_art_heurstic and make args consistent with others
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libmediaart/api-cleanup: 5/14] extract: rename (private) media_art_heurstic and make args consistent with others
- Date: Tue, 25 Feb 2014 18:36:31 +0000 (UTC)
commit 14c75dba748de4d15792955039cc167da2ce2fd8
Author: Martyn Russell <martyn lanedo com>
Date: Tue Feb 25 10:59:54 2014 +0000
extract: rename (private) media_art_heurstic and make args consistent with others
libmediaart/extract.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/libmediaart/extract.c b/libmediaart/extract.c
index 3d6e0ea..0df085e 100644
--- a/libmediaart/extract.c
+++ b/libmediaart/extract.c
@@ -530,11 +530,11 @@ media_art_find_by_artist_and_title (const gchar *uri,
}
static gboolean
-media_art_heuristic (const gchar *artist,
- const gchar *title,
- MediaArtType type,
- const gchar *filename_uri,
- const gchar *local_uri)
+get_heuristic (MediaArtType type,
+ const gchar *filename_uri,
+ const gchar *local_uri,
+ const gchar *artist,
+ const gchar *title)
{
gchar *art_file_path = NULL;
gchar *album_art_file_path = NULL;
@@ -1457,7 +1457,7 @@ media_art_process_file (GFile *file,
local_art_uri = g_file_get_uri (local_art_file);
- if (!media_art_heuristic (artist, title, type, uri, local_art_uri)) {
+ if (!get_heuristic (type, uri, local_art_uri, artist, title)) {
/* If the heuristic failed, we
* request the download the
* media-art to the media-art
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]