[grilo] Use GRL_KEYID_FORMAT when printing a key



commit d6dc9e78c10b452c3c762a4bcb845670f84cf5d5
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Thu Jun 3 21:23:56 2010 +0200

    Use GRL_KEYID_FORMAT when printing a key
    
    Do not force to a specific format (in this case, to %u), but use
    GRL_KEYID_FORMAT instead.

 src/grl-metadata-source.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/grl-metadata-source.c b/src/grl-metadata-source.c
index da9705d..e8c7e5f 100644
--- a/src/grl-metadata-source.c
+++ b/src/grl-metadata-source.c
@@ -881,12 +881,12 @@ grl_metadata_source_setup_full_resolution_mode (GrlMetadataSource *source,
       /* deps == NULL means the key cannot be resolved
 	 by using only metadata */
       if (!deps) {
-	g_debug ("    Key '%u' cannot be resolved from metadata", key);
+	g_debug ("    Key '%" GRL_KEYID_FORMAT "' cannot be resolved from metadata", key);
 	supported_keys = g_list_delete_link (supported_keys, iter_prev);
 	key_list = g_list_prepend (key_list, GRLKEYID_TO_POINTER (key));
 	continue;
       }
-      g_debug ("    Key '%u' might be resolved using external metadata", key);
+      g_debug ("    Key '%" GRL_KEYID_FORMAT "' might be resolved using external metadata", key);
 
       /* Check if the original source can solve these dependencies */
       supported_deps =



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