[tracker/media-art-enhancements-2: 1/3] Rename remaining albumart function to media_art
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/media-art-enhancements-2: 1/3] Rename remaining albumart function to media_art
- Date: Tue, 14 Feb 2012 19:52:26 +0000 (UTC)
commit 333137a3b111ea19d3a9b363dd3c766543e92ad5
Author: Sam Thursfield <ssssam gmail com>
Date: Fri Feb 10 19:50:17 2012 +0000
Rename remaining albumart function to media_art
src/tracker-extract/tracker-media-art.c | 34 +++++++++++++++---------------
1 files changed, 17 insertions(+), 17 deletions(-)
---
diff --git a/src/tracker-extract/tracker-media-art.c b/src/tracker-extract/tracker-media-art.c
index f783d89..a852598 100644
--- a/src/tracker-extract/tracker-media-art.c
+++ b/src/tracker-extract/tracker-media-art.c
@@ -82,7 +82,7 @@ static GHashTable *media_art_cache;
static GDBusConnection *connection;
static void
-albumart_queue_cb (GObject *source_object,
+media_art_queue_cb (GObject *source_object,
GAsyncResult *res,
gpointer user_data);
@@ -777,12 +777,12 @@ media_art_set (const unsigned char *buffer,
}
static void
-albumart_request_download (TrackerStorage *storage,
- TrackerMediaArtType type,
- const gchar *album,
- const gchar *artist,
- const gchar *local_uri,
- const gchar *art_path)
+media_art_request_download (TrackerStorage *storage,
+ TrackerMediaArtType type,
+ const gchar *album,
+ const gchar *artist,
+ const gchar *local_uri,
+ const gchar *art_path)
{
if (connection) {
GetFileInfo *info;
@@ -816,7 +816,7 @@ albumart_request_download (TrackerStorage *storage,
G_DBUS_CALL_FLAGS_NONE,
-1,
NULL,
- albumart_queue_cb,
+ media_art_queue_cb,
info);
}
}
@@ -892,9 +892,9 @@ media_art_copy_to_local (TrackerStorage *storage,
}
static void
-albumart_queue_cb (GObject *source_object,
- GAsyncResult *res,
- gpointer user_data)
+media_art_queue_cb (GObject *source_object,
+ GAsyncResult *res,
+ gpointer user_data)
{
GError *error = NULL;
GetFileInfo *info;
@@ -1087,12 +1087,12 @@ tracker_media_art_process (const unsigned char *buffer,
* media-art to the media-art
* downloaders
*/
- albumart_request_download (media_art_storage,
- type,
- artist,
- title,
- local_art_uri,
- art_path);
+ media_art_request_download (media_art_storage,
+ type,
+ artist,
+ title,
+ local_art_uri,
+ art_path);
}
set_mtime (art_path, mtime);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]