[libmediaart/api-cleanup: 5/16] 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/16] extract: rename (private) media_art_heurstic and make args consistent with others
- Date: Mon, 28 Jul 2014 08:19:36 +0000 (UTC)
commit 8f9056a3dd449aec6ff1d17857ea8782f2d9ff35
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 c243328..b1268da 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]