[tracker/extractor-rules-list: 7/11] libtracker-extract: Whitespace fixes
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/extractor-rules-list: 7/11] libtracker-extract: Whitespace fixes
- Date: Tue, 15 Mar 2011 16:06:16 +0000 (UTC)
commit 609931062dd766e9fed6a0a6a5638b095b30e4b5
Author: Martyn Russell <martyn lanedo com>
Date: Tue Mar 15 14:54:24 2011 +0000
libtracker-extract: Whitespace fixes
src/libtracker-extract/tracker-data.h | 4 ++--
.../tracker-extract-module-manager.c | 9 +++++++--
src/libtracker-extract/tracker-extract.h | 1 +
3 files changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/src/libtracker-extract/tracker-data.h b/src/libtracker-extract/tracker-data.h
index 5809b2e..f4e071d 100644
--- a/src/libtracker-extract/tracker-data.h
+++ b/src/libtracker-extract/tracker-data.h
@@ -106,8 +106,8 @@ G_BEGIN_DECLS
*
* This function must be provided by ALL extractors. This is merely
* the declaration of the function which must be written by each
- * extractor.
- *
+ * extractor.
+ *
* This is checked by tracker-extract by looking up the symbols for
* each started plugin and making sure this function exists.
*
diff --git a/src/libtracker-extract/tracker-extract-module-manager.c b/src/libtracker-extract/tracker-extract-module-manager.c
index a45f681..11fcc99 100644
--- a/src/libtracker-extract/tracker-extract-module-manager.c
+++ b/src/libtracker-extract/tracker-extract-module-manager.c
@@ -17,7 +17,10 @@
* Boston, MA 02110-1301, USA.
*/
+#include "config.h"
+
#include <string.h>
+
#include "tracker-extract-module-manager.h"
#define EXTRACTOR_FUNCTION "tracker_extract_get_metadata"
@@ -145,7 +148,8 @@ tracker_extract_module_manager_init (void)
g_dir_close (dir);
/* Initialize miscellaneous data */
- mimetype_map = g_hash_table_new_full (g_str_hash, g_str_equal,
+ mimetype_map = g_hash_table_new_full (g_str_hash,
+ g_str_equal,
(GDestroyNotify) g_free,
NULL);
initialized = TRUE;
@@ -283,5 +287,6 @@ tracker_extract_module_manager_mimetype_is_handled (const gchar *mimetype)
}
info = lookup_rule (mimetype);
- return (info != NULL);
+
+ return info != NULL;
}
diff --git a/src/libtracker-extract/tracker-extract.h b/src/libtracker-extract/tracker-extract.h
index ad25fdc..1043cb5 100644
--- a/src/libtracker-extract/tracker-extract.h
+++ b/src/libtracker-extract/tracker-extract.h
@@ -26,6 +26,7 @@
#include "tracker-data.h"
#include "tracker-exif.h"
+#include "tracker-extract-module-manager.h"
#include "tracker-guarantee.h"
#include "tracker-iptc.h"
#include "tracker-utils.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]