[PATCH 2/2] tracker: complete some traces regarding operations id
- From: llandwerlin gmail com
- To: grilo-list gnome org
- Subject: [PATCH 2/2] tracker: complete some traces regarding operations id
- Date: Thu, 20 Jan 2011 14:20:30 +0000
From: Lionel Landwerlin <lionel g landwerlin linux intel com>
Signed-off-by: Lionel Landwerlin <lionel g landwerlin linux intel com>
---
src/tracker/grl-tracker.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/tracker/grl-tracker.c b/src/tracker/grl-tracker.c
index adbeb22..18e149b 100644
--- a/src/tracker/grl-tracker.c
+++ b/src/tracker/grl-tracker.c
@@ -840,7 +840,7 @@ grl_tracker_source_query (GrlMediaSource *source,
GError *error = NULL;
struct OperationSpec *os;
- GRL_DEBUG ("%s", __FUNCTION__);
+ GRL_DEBUG ("%s: id=%u", __FUNCTION__, qs->quert_id);
if (!qs->query || qs->query[0] == '\0') {
error = g_error_new_literal (GRL_CORE_ERROR,
@@ -878,7 +878,7 @@ grl_tracker_source_metadata (GrlMediaSource *source,
GrlTrackerSourcePriv *priv = GRL_TRACKER_SOURCE_GET_PRIVATE (source);
gchar *sparql_select, *sparql_final;
- GRL_DEBUG ("%s", __FUNCTION__);
+ GRL_DEBUG ("%s: id=", __FUNCTION__, ms->metadata_id);
sparql_select = get_select_string (source, ms->keys);
sparql_final = g_strdup_printf (TRACKER_METADATA_REQUEST, sparql_select,
@@ -907,7 +907,7 @@ grl_tracker_source_search (GrlMediaSource *source, GrlMediaSourceSearchSpec *ss)
GError *error = NULL;
struct OperationSpec *os;
- GRL_DEBUG ("%s", __FUNCTION__);
+ GRL_DEBUG ("%s: id=%u", __FUNCTION__, ss->search_id);
if (!ss->text || ss->text[0] == '\0') {
error = g_error_new_literal (GRL_CORE_ERROR,
@@ -957,7 +957,7 @@ grl_tracker_source_browse (GrlMediaSource *source,
struct OperationSpec *os;
GrlMedia *media;
- GRL_DEBUG ("%s", __FUNCTION__);
+ GRL_DEBUG ("%s: id=%u", __FUNCTION__, bs->browse_id);
if ((bs->container == NULL || grl_media_get_id (bs->container) == NULL)) {
/* Hardcoded categories */
@@ -1009,7 +1009,7 @@ grl_tracker_source_cancel (GrlMediaSource *source, guint operation_id)
GrlTrackerSourcePriv *priv = GRL_TRACKER_SOURCE_GET_PRIVATE (source);
struct OperationSpec *os;
- GRL_DEBUG ("%s", __FUNCTION__);
+ GRL_DEBUG ("%s: id=%u", __FUNCTION__, operation_id);
os = g_hash_table_lookup (priv->operations, GSIZE_TO_POINTER (operation_id));
--
1.7.2.3
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]