[tracker/async-queries-cursor] tracker-store: Add string else the inner container is wrong
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/async-queries-cursor] tracker-store: Add string else the inner container is wrong
- Date: Wed, 21 Apr 2010 10:49:22 +0000 (UTC)
commit 47b10073ee4803472f45882a59808609751e2ec2
Author: Philip Van Hoof <philip codeminded be>
Date: Wed Apr 21 12:48:16 2010 +0200
tracker-store: Add string else the inner container is wrong
src/tracker-store/tracker-resources.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker-store/tracker-resources.c b/src/tracker-store/tracker-resources.c
index d4a7e56..75649d7 100644
--- a/src/tracker-store/tracker-resources.c
+++ b/src/tracker-store/tracker-resources.c
@@ -223,6 +223,8 @@ query_callback (TrackerDBCursor *cursor, GError *error, gpointer user_data)
length++;
+ dbus_message_iter_append_basic (&cols_iter, DBUS_TYPE_STRING, &result_str);
+
/* I *know* that this is some arbitrary number that doesn't seem to
* resemble anything. In fact it's what I experimentally measured to
* be a good value on a default Debian testing which has
@@ -250,8 +252,6 @@ query_callback (TrackerDBCursor *cursor, GError *error, gpointer user_data)
goto breakout;
}
- dbus_message_iter_append_basic (&cols_iter, DBUS_TYPE_STRING, &result_str);
-
}
dbus_message_iter_close_container (&rows_iter, &cols_iter);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]