[tracker/return-types] squash, a wtf is this
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/return-types] squash, a wtf is this
- Date: Fri, 10 Sep 2010 14:29:50 +0000 (UTC)
commit 7b866afd59bfe38d46f5621be8851ec6014d725a
Author: Philip Van Hoof <philip codeminded be>
Date: Fri Sep 10 16:29:40 2010 +0200
squash, a wtf is this
src/libtracker-bus/tracker-bus-fd-cursor.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-bus/tracker-bus-fd-cursor.c b/src/libtracker-bus/tracker-bus-fd-cursor.c
index c37faf1..4575d9c 100644
--- a/src/libtracker-bus/tracker-bus-fd-cursor.c
+++ b/src/libtracker-bus/tracker-bus-fd-cursor.c
@@ -302,7 +302,8 @@ tracker_bus_fd_query (DBusGConnection *gconnection,
if (cursor->variable_names) {
cursor->n_columns = g_strv_length (cursor->variable_names);
} else {
- cursor->variable_names = 0;
+ cursor->variable_names = NULL;
+ cursor->n_columns = 0;
}
/* message is destroyed by tracker_dbus_send_and_splice */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]