[tracker/writeback-guarantee: 3/7] tracker-writeback: Codestyle cleanups
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/writeback-guarantee: 3/7] tracker-writeback: Codestyle cleanups
- Date: Mon, 20 Dec 2010 11:05:27 +0000 (UTC)
commit 56ef31ba04091274ac40be66eee842b03768ba8e
Author: Philip Van Hoof <philip codeminded be>
Date: Thu Dec 16 16:48:52 2010 +0100
tracker-writeback: Codestyle cleanups
src/tracker-writeback/tracker-writeback-consumer.c | 22 ++++++++++----------
1 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/src/tracker-writeback/tracker-writeback-consumer.c b/src/tracker-writeback/tracker-writeback-consumer.c
index e8b00dc..07190a1 100644
--- a/src/tracker-writeback/tracker-writeback-consumer.c
+++ b/src/tracker-writeback/tracker-writeback-consumer.c
@@ -57,6 +57,17 @@ typedef struct {
guint state;
} TrackerWritebackConsumerPrivate;
+typedef struct {
+ TrackerWritebackConsumer *consumer;
+ GPtrArray *unwanted_results;
+ QueryData *data;
+} DiffData;
+
+typedef struct {
+ gchar *subject;
+ TrackerWritebackConsumer *consumer;
+} SubjectAndConsumer;
+
enum {
STATE_IDLE,
STATE_PROCESSING
@@ -172,12 +183,6 @@ sparql_rdf_types_match (const gchar * const *module_types,
return FALSE;
}
-typedef struct {
- TrackerWritebackConsumer *consumer;
- GPtrArray *unwanted_results;
- QueryData *data;
-} DiffData;
-
static void
sparql_query_cb_diff (GObject *object,
GAsyncResult *result,
@@ -270,11 +275,6 @@ sparql_query_cb_diff (GObject *object,
priv->idle_id = g_idle_add (process_queue_cb, consumer);
}
-typedef struct {
- gchar *subject;
- TrackerWritebackConsumer *consumer;
-} SubjectAndConsumer;
-
static void
sparql_query_cb (GObject *object,
GAsyncResult *result,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]