[tracker/tracker-0.10] libtracker-miner: Other signed changes where it made no sense to use guint
- From: JÃrg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10] libtracker-miner: Other signed changes where it made no sense to use guint
- Date: Fri, 2 Dec 2011 11:06:32 +0000 (UTC)
commit bb60fc2ebd8c1f67e475053eaafeceb0bbcbe46d
Author: Philip Van Hoof <philip codeminded be>
Date: Wed Nov 23 15:56:07 2011 +0100
libtracker-miner: Other signed changes where it made no sense to use guint
src/libtracker-miner/tracker-sparql-buffer.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-sparql-buffer.c b/src/libtracker-miner/tracker-sparql-buffer.c
index 0e76584..89a4c9e 100644
--- a/src/libtracker-miner/tracker-sparql-buffer.c
+++ b/src/libtracker-miner/tracker-sparql-buffer.c
@@ -50,7 +50,7 @@ struct _TrackerSparqlBufferPrivate
TrackerSparqlConnection *connection;
guint flush_timeout_id;
GPtrArray *tasks;
- guint n_updates;
+ gint n_updates;
};
struct _SparqlTaskData
@@ -260,7 +260,7 @@ tracker_sparql_buffer_update_array_cb (GObject *object,
GError *global_error = NULL;
GPtrArray *sparql_array_errors;
UpdateArrayData *update_data;
- guint i;
+ gint i;
/* Get arrays of errors and queries */
update_data = user_data;
@@ -308,7 +308,7 @@ tracker_sparql_buffer_update_array_cb (GObject *object,
if (error_pos < update_data->n_bulk_operations) {
BulkOperationMerge *bulk;
GList *tasks;
- guint bulk_pos;
+ gint bulk_pos;
bulk_pos = ABS (error_pos - update_data->n_bulk_operations + 1);
bulk = g_ptr_array_index (update_data->bulk_ops, bulk_pos);
@@ -390,7 +390,7 @@ bulk_operation_merge_finish (BulkOperationMerge *merge)
if (merge->bulk_operation && merge->tasks) {
GString *equals_string = NULL, *children_string = NULL, *sparql;
- guint n_equals = 0;
+ gint n_equals = 0;
GList *l;
for (l = merge->tasks; l; l = l->next) {
@@ -493,7 +493,7 @@ tracker_sparql_buffer_flush (TrackerSparqlBuffer *buffer,
GPtrArray *bulk_ops = NULL;
GArray *sparql_array, *error_map;
UpdateArrayData *update_data;
- guint i, j;
+ gint i, j;
priv = buffer->priv;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]