summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Landwerlin <lionel.g.landwerlin@linux.intel.com>2011-03-10 19:10:48 +0000
committerJuan A. Suarez Romero <jasuarez@igalia.com>2011-03-17 12:58:31 +0100
commitbcfe1670b6fd8539815bd9d36603e817d69961fd (patch)
tree322010777243da99f068b03929d5881f1e23da0a
parentcd8be2be47830bb407ccb2427ca1b533be86ff5c (diff)
downloadgrilo-plugins-bcfe1670b6fd8539815bd9d36603e817d69961fd.tar.gz
tracker: fix a few name error on debug messages & source id
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@linux.intel.com>
-rw-r--r--src/media/tracker/grl-tracker-media.c7
-rw-r--r--src/media/tracker/grl-tracker-metadata.h2
2 files changed, 6 insertions, 3 deletions
diff --git a/src/media/tracker/grl-tracker-media.c b/src/media/tracker/grl-tracker-media.c
index 6d59d55..39ab906 100644
--- a/src/media/tracker/grl-tracker-media.c
+++ b/src/media/tracker/grl-tracker-media.c
@@ -40,8 +40,8 @@
/* --------- Logging -------- */
-#define GRL_LOG_DOMAIN_DEFAULT tracker_general_log_domain
-GRL_LOG_DOMAIN_STATIC(tracker_general_log_domain);
+#define GRL_LOG_DOMAIN_DEFAULT tracker_media_log_domain
+GRL_LOG_DOMAIN_STATIC(tracker_media_log_domain);
/* ------- Definitions ------- */
@@ -329,6 +329,9 @@ tracker_get_datasources_cb (GObject *object,
void
grl_tracker_media_sources_init (void)
{
+
+ GRL_LOG_DOMAIN_INIT (tracker_media_log_domain, "tracker-media");
+
GRL_DEBUG ("%s", __FUNCTION__);
grl_tracker_item_cache =
diff --git a/src/media/tracker/grl-tracker-metadata.h b/src/media/tracker/grl-tracker-metadata.h
index fc67fa4..8720779 100644
--- a/src/media/tracker/grl-tracker-metadata.h
+++ b/src/media/tracker/grl-tracker-metadata.h
@@ -55,7 +55,7 @@
/* ---- MetadataSource information ---- */
-#define GRL_TRACKER_METADATA_ID "grl-tracker-media"
+#define GRL_TRACKER_METADATA_ID "grl-tracker-metadata"
#define GRL_TRACKER_METADATA_NAME "TrackerMetadata"
#define GRL_TRACKER_METADATA_DESC \
"A plugin for searching metadata" \