[tracker/tracker-0.10] tracker-miner-fs: Fix inconsistencies in #ifndef and #define names



commit e1bcbdc03dc39ec694e5358d6d0e070c63e79f3a
Author: Martyn Russell <martyn lanedo com>
Date:   Tue Jul 26 16:19:41 2011 +0100

    tracker-miner-fs: Fix inconsistencies in #ifndef and #define names
    
    Files have been moved around but the defines need to be updated in case
    similar names are used in other binaries elsewhere (e.g. tracker-config.[ch].

 src/miners/fs/tracker-miner-files-index.h    |    6 +++---
 src/miners/fs/tracker-power.h                |    6 +++---
 src/miners/fs/tracker-writeback-dispatcher.h |    6 +++---
 src/miners/fs/tracker-writeback-listener.h   |    6 +++---
 src/miners/fs/tracker-writeback.h            |    6 +++---
 5 files changed, 15 insertions(+), 15 deletions(-)
---
diff --git a/src/miners/fs/tracker-miner-files-index.h b/src/miners/fs/tracker-miner-files-index.h
index 130a71d..447d9e2 100644
--- a/src/miners/fs/tracker-miner-files-index.h
+++ b/src/miners/fs/tracker-miner-files-index.h
@@ -17,8 +17,8 @@
  * Boston, MA  02110-1301, USA.
  */
 
-#ifndef __TRACKER_MINER_FILES_INDEX_H__
-#define __TRACKER_MINER_FILES_INDEX_H__
+#ifndef __TRACKER_MINER_FS_FILES_INDEX_H__
+#define __TRACKER_MINER_FS_FILES_INDEX_H__
 
 #include <glib-object.h>
 
@@ -49,4 +49,4 @@ TrackerMinerFilesIndex *tracker_miner_files_index_new      (TrackerMinerFiles *m
 
 G_END_DECLS
 
-#endif /* __TRACKER_MINER_FILES_INDEX_H__ */
+#endif /* __TRACKER_MINER_FS_FILES_INDEX_H__ */
diff --git a/src/miners/fs/tracker-power.h b/src/miners/fs/tracker-power.h
index 4727521..7440b9e 100644
--- a/src/miners/fs/tracker-power.h
+++ b/src/miners/fs/tracker-power.h
@@ -17,8 +17,8 @@
  * Boston, MA  02110-1301, USA.
  */
 
-#ifndef __LIBTRACKER_COMMON_POWER_H__
-#define __LIBTRACKER_COMMON_POWER_H__
+#ifndef __TRACKER_MINER_FS_POWER_H__
+#define __TRACKER_MINER_FS_POWER_H__
 
 #include <glib-object.h>
 
@@ -55,4 +55,4 @@ gboolean      tracker_power_get_on_low_battery     (TrackerPower *power);
 
 G_END_DECLS
 
-#endif /* __LIBTRACKER_COMMON_POWER_H__ */
+#endif /* __TRACKER_MINER_FS_POWER_H__ */
diff --git a/src/miners/fs/tracker-writeback-dispatcher.h b/src/miners/fs/tracker-writeback-dispatcher.h
index 2b1f71e..9bfb5f3 100644
--- a/src/miners/fs/tracker-writeback-dispatcher.h
+++ b/src/miners/fs/tracker-writeback-dispatcher.h
@@ -17,8 +17,8 @@
  * Boston, MA  02110-1301, USA.
  */
 
-#ifndef __TRACKER_WRITEBACK_DISPATCHER_H__
-#define __TRACKER_WRITEBACK_DISPATCHER_H__
+#ifndef __TRACKER_MINER_FS_WRITEBACK_DISPATCHER_H__
+#define __TRACKER_MINER_FS_WRITEBACK_DISPATCHER_H__
 
 #include <glib-object.h>
 
@@ -50,4 +50,4 @@ TrackerWritebackDispatcher *tracker_writeback_dispatcher_new    (TrackerMinerFil
 
 G_END_DECLS
 
-#endif /* __TRACKER_WRITEDISPATCHERTENERINDEX_H__ */
+#endif /* __TRACKER_MINER_FS_WRITEBACK_DISPATCHER_H__ */
diff --git a/src/miners/fs/tracker-writeback-listener.h b/src/miners/fs/tracker-writeback-listener.h
index ab1a94d..e1897c2 100644
--- a/src/miners/fs/tracker-writeback-listener.h
+++ b/src/miners/fs/tracker-writeback-listener.h
@@ -17,8 +17,8 @@
  * Boston, MA  02110-1301, USA.
  */
 
-#ifndef __TRACKER_WRITEBACK_LISTENER_H__
-#define __TRACKER_WRITEBACK_LISTENER_H__
+#ifndef __TRACKER_MINER_FS_WRITEBACK_LISTENER_H__
+#define __TRACKER_MINER_FS_WRITEBACK_LISTENER_H__
 
 #include <glib-object.h>
 
@@ -50,4 +50,4 @@ TrackerWritebackListener *tracker_writeback_listener_new      (TrackerMinerFiles
 
 G_END_DECLS
 
-#endif /* __TRACKER_WRITEBACK_LISTENERINDEX_H__ */
+#endif /* __TRACKER_MINER_FS_WRITEBACK_LISTENER_H__ */
diff --git a/src/miners/fs/tracker-writeback.h b/src/miners/fs/tracker-writeback.h
index 47a7a6c..1be79a8 100644
--- a/src/miners/fs/tracker-writeback.h
+++ b/src/miners/fs/tracker-writeback.h
@@ -17,8 +17,8 @@
  * Boston, MA  02110-1301, USA.
  */
 
-#ifndef __TRACKER_WRITEBACK_H__
-#define __TRACKER_WRITEBACK_H__
+#ifndef __TRACKER_MINER_FS_WRITEBACK_H__
+#define __TRACKER_MINER_FS_WRITEBACK_H__
 
 #include <libtracker-miner/tracker-miner.h>
 
@@ -35,4 +35,4 @@ void tracker_writeback_shutdown (void);
 
 G_END_DECLS
 
-#endif /* __TRACKER_WRITEBACK_H__ */
+#endif /* __TRACKER_MINER_FS_WRITEBACK_H__ */



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