[grilo-plugins] tracker: fix a few name error on debug messages & source id



commit bcfe1670b6fd8539815bd9d36603e817d69961fd
Author: Lionel Landwerlin <lionel g landwerlin linux intel com>
Date:   Thu Mar 10 19:10:48 2011 +0000

    tracker: fix a few name error on debug messages & source id
    
    Signed-off-by: Lionel Landwerlin <lionel g landwerlin linux intel com>

 src/media/tracker/grl-tracker-media.c    |    7 +++++--
 src/media/tracker/grl-tracker-metadata.h |    2 +-
 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"             \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]