[libmediaart] extract: remove unused function parameter
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libmediaart] extract: remove unused function parameter
- Date: Mon, 7 Oct 2013 16:18:15 +0000 (UTC)
commit 95b3b782a49032da3b07618323aa1e985e440167
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Oct 7 17:53:21 2013 +0200
extract: remove unused function parameter
libmediaart/extract.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/libmediaart/extract.c b/libmediaart/extract.c
index a97d3c6..9ab8e1c 100644
--- a/libmediaart/extract.c
+++ b/libmediaart/extract.c
@@ -660,8 +660,7 @@ media_art_set (const unsigned char *buffer,
const gchar *mime,
MediaArtType type,
const gchar *artist,
- const gchar *title,
- const gchar *uri)
+ const gchar *title)
{
gchar *local_path;
gboolean retval = FALSE;
@@ -1150,7 +1149,7 @@ media_art_process_file (const guchar *buffer,
local_art_uri = g_file_get_uri (local_art_file);
if ((buffer && len > 0) && ((!a_exists) || (a_exists && mtime > a_mtime))) {
- processed = media_art_set (buffer, len, mime, type, artist, title, uri);
+ processed = media_art_set (buffer, len, mime, type, artist, title);
set_mtime (art_path, mtime);
created = TRUE;
}
@@ -1284,7 +1283,7 @@ media_art_process (const unsigned char *buffer,
}
if ((buffer && len > 0) && ((!a_exists) || (a_exists && mtime > a_mtime))) {
- processed = media_art_set (buffer, len, mime, type, artist, title, uri);
+ processed = media_art_set (buffer, len, mime, type, artist, title);
set_mtime (art_path, mtime);
created = TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]