[tracker/tracker-0.10] miners/fs: Codestyle changes, typedefs belong to the top of the file



commit 34933eb4bc7299b62df99ba47903e7da5dfbbcd4
Author: Philip Van Hoof <philip codeminded be>
Date:   Fri Jul 22 17:36:36 2011 +0200

    miners/fs: Codestyle changes, typedefs belong to the top of the file

 src/miners/fs/tracker-writeback-listener.c |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/src/miners/fs/tracker-writeback-listener.c b/src/miners/fs/tracker-writeback-listener.c
index a30c91c..f9a702c 100644
--- a/src/miners/fs/tracker-writeback-listener.c
+++ b/src/miners/fs/tracker-writeback-listener.c
@@ -36,6 +36,12 @@ typedef struct {
 	guint d_signal;
 } TrackerWritebackListenerPrivate;
 
+typedef struct {
+	TrackerWritebackListener *self;
+	gint subject_id;
+	GStrv rdf_types;
+} QueryData;
+
 enum {
 	PROP_0,
 	PROP_FILES_MINER
@@ -115,7 +121,6 @@ writeback_listener_set_property (GObject      *object,
 	}
 }
 
-
 static void
 writeback_listener_get_property (GObject    *object,
                                  guint       param_id,
@@ -223,12 +228,6 @@ tracker_writeback_listener_new (TrackerMinerFiles  *miner_files,
 	return (TrackerWritebackListener *) miner;
 }
 
-typedef struct {
-	TrackerWritebackListener *self;
-	gint subject_id;
-	GStrv rdf_types;
-} QueryData;
-
 static QueryData*
 query_data_new (TrackerWritebackListener *self,
                 gint subject_id)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]