[grilo-plugins/0.1.x] tracker: Fix previous commit



commit 1d5df859e61b56050a33e7c416d3b652754b044c
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Tue May 17 08:13:59 2011 +0000

    tracker: Fix previous commit
    
    Fix 7d330dd.
    
    Signed-off-by: Juan A. Suarez Romero <jasuarez igalia com>

 src/media/tracker/grl-tracker-media-api.c |    2 +-
 src/media/tracker/grl-tracker-utils.c     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/media/tracker/grl-tracker-media-api.c b/src/media/tracker/grl-tracker-media-api.c
index be5a892..d0606ca 100644
--- a/src/media/tracker/grl-tracker-media-api.c
+++ b/src/media/tracker/grl-tracker-media-api.c
@@ -889,7 +889,7 @@ grl_tracker_media_init_requests (void)
   grl_metadata_key_tracker_category =
     grl_plugin_registry_lookup_metadata_key (registry, "tracker-category");
 
-  if (grl_metadata_key_tracker_category == GRL_METADATA_KEY_INVALID) {
+  if (grl_metadata_key_tracker_category == NULL) {
     grl_metadata_key_tracker_category =
       grl_plugin_registry_register_metadata_key (grl_plugin_registry_get_default (),
                                                  g_param_spec_string ("tracker-category",
diff --git a/src/media/tracker/grl-tracker-utils.c b/src/media/tracker/grl-tracker-utils.c
index bbfdfe3..fee63c8 100644
--- a/src/media/tracker/grl-tracker-utils.c
+++ b/src/media/tracker/grl-tracker-utils.c
@@ -131,7 +131,7 @@ grl_tracker_setup_key_mappings (void)
   grl_metadata_key_tracker_urn =
     grl_plugin_registry_lookup_metadata_key (registry, "tracker-urn");
 
-  if (grl_metadata_key_tracker_urn == GRL_METADATA_KEY_INVALID) {
+  if (grl_metadata_key_tracker_urn == NULL) {
     grl_metadata_key_tracker_urn =
       grl_plugin_registry_register_metadata_key (grl_plugin_registry_get_default (),
                                                  g_param_spec_string ("tracker-urn",



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