[grilo] Print key name when debugging
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo] Print key name when debugging
- Date: Tue, 15 Jun 2010 17:03:57 +0000 (UTC)
commit 435c29dfe8326ea2492f3c9b1f578b2515a2b7a0
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date: Tue Jun 15 13:34:12 2010 +0200
Print key name when debugging
It is more clear than printing the key id.
src/grl-metadata-source.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/grl-metadata-source.c b/src/grl-metadata-source.c
index fef9085..077833a 100644
--- a/src/grl-metadata-source.c
+++ b/src/grl-metadata-source.c
@@ -878,12 +878,14 @@ 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 '%" GRL_KEYID_FORMAT "' cannot be resolved from metadata", key);
+ g_debug (" Key '%s' cannot be resolved from metadata",
+ GRL_METADATA_KEY_GET_NAME (key));
supported_keys = g_list_delete_link (supported_keys, iter_prev);
key_list = g_list_prepend (key_list, key);
continue;
}
- g_debug (" Key '%" GRL_KEYID_FORMAT "' might be resolved using external metadata", key);
+ g_debug (" Key '%s' might be resolved using external metadata",
+ GRL_METADATA_KEY_GET_NAME (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]