[tracker/extractor-dev: 5/17] tracker-extract: Removed a bunch of unnecessary includes



commit 2765e18a40efac3faf84a06053cf7dfc78c38b56
Author: Martyn Russell <martyn lanedo com>
Date:   Tue Mar 9 12:11:36 2010 +0000

    tracker-extract: Removed a bunch of unnecessary includes

 src/tracker-extract/tracker-extract-abw.c       |    1 -
 src/tracker-extract/tracker-extract-flac.c      |    4 ++--
 src/tracker-extract/tracker-extract-gstreamer.c |    2 --
 src/tracker-extract/tracker-extract-html.c      |    2 --
 src/tracker-extract/tracker-extract-jpeg.c      |    3 ---
 src/tracker-extract/tracker-extract-msoffice.c  |    1 -
 src/tracker-extract/tracker-extract-oasis.c     |    2 --
 src/tracker-extract/tracker-extract-pdf.c       |    3 ---
 src/tracker-extract/tracker-extract-playlist.c  |    2 --
 src/tracker-extract/tracker-extract-png.c       |    4 ----
 src/tracker-extract/tracker-extract-ps.c        |    5 +----
 src/tracker-extract/tracker-extract-tiff.c      |   15 ---------------
 src/tracker-extract/tracker-extract-vorbis.c    |    2 --
 src/tracker-extract/tracker-extract-xmp.c       |    6 ------
 14 files changed, 3 insertions(+), 49 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-abw.c b/src/tracker-extract/tracker-extract-abw.c
index c354e69..4718cb0 100644
--- a/src/tracker-extract/tracker-extract-abw.c
+++ b/src/tracker-extract/tracker-extract-abw.c
@@ -34,7 +34,6 @@
 #include <glib/gstdio.h>
 
 #include <libtracker-common/tracker-file-utils.h>
-#include <libtracker-common/tracker-ontologies.h>
 
 #include <libtracker-extract/tracker-extract.h>
 
diff --git a/src/tracker-extract/tracker-extract-flac.c b/src/tracker-extract/tracker-extract-flac.c
index ecfe884..7a1dea5 100644
--- a/src/tracker-extract/tracker-extract-flac.c
+++ b/src/tracker-extract/tracker-extract-flac.c
@@ -29,8 +29,8 @@
 #include <FLAC/metadata.h>
 
 #include <libtracker-common/tracker-file-utils.h>
-#include <libtracker-common/tracker-ontologies.h>
-#include <libtracker-common/tracker-utils.h>
+
+#include <libtracker-client/tracker.h>
 
 #include <libtracker-extract/tracker-extract.h>
 
diff --git a/src/tracker-extract/tracker-extract-gstreamer.c b/src/tracker-extract/tracker-extract-gstreamer.c
index 0d1c2d9..7be0164 100644
--- a/src/tracker-extract/tracker-extract-gstreamer.c
+++ b/src/tracker-extract/tracker-extract-gstreamer.c
@@ -35,8 +35,6 @@ long long int llroundl(long double x);
 #include <gst/gst.h>
 #include <gst/tag/tag.h>
 
-#include <libtracker-common/tracker-common.h>
-
 #include <libtracker-client/tracker.h>
 
 #include <libtracker-extract/tracker-extract.h>
diff --git a/src/tracker-extract/tracker-extract-html.c b/src/tracker-extract/tracker-extract-html.c
index 0634075..0dc127d 100644
--- a/src/tracker-extract/tracker-extract-html.c
+++ b/src/tracker-extract/tracker-extract-html.c
@@ -26,8 +26,6 @@
 
 #include <libxml/HTMLparser.h>
 
-#include <libtracker-common/tracker-ontologies.h>
-
 #include <libtracker-extract/tracker-extract.h>
 
 typedef enum {
diff --git a/src/tracker-extract/tracker-extract-jpeg.c b/src/tracker-extract/tracker-extract-jpeg.c
index bc665b6..e230c6b 100644
--- a/src/tracker-extract/tracker-extract-jpeg.c
+++ b/src/tracker-extract/tracker-extract-jpeg.c
@@ -42,9 +42,6 @@
 #include <jpeglib.h>
 
 #include <libtracker-common/tracker-file-utils.h>
-#include <libtracker-common/tracker-ontologies.h>
-#include <libtracker-common/tracker-type-utils.h>
-#include <libtracker-common/tracker-utils.h>
 
 #include <libtracker-extract/tracker-extract.h>
 
diff --git a/src/tracker-extract/tracker-extract-msoffice.c b/src/tracker-extract/tracker-extract-msoffice.c
index 9cb7a8f..59540b6 100644
--- a/src/tracker-extract/tracker-extract-msoffice.c
+++ b/src/tracker-extract/tracker-extract-msoffice.c
@@ -34,7 +34,6 @@
 #include <gsf/gsf-utils.h>
 
 #include <libtracker-common/tracker-utils.h>
-#include <libtracker-common/tracker-ontologies.h>
 #include <libtracker-common/tracker-os-dependant.h>
 
 #include <libtracker-extract/tracker-extract.h>
diff --git a/src/tracker-extract/tracker-extract-oasis.c b/src/tracker-extract/tracker-extract-oasis.c
index 1cd098d..31cb23d 100644
--- a/src/tracker-extract/tracker-extract-oasis.c
+++ b/src/tracker-extract/tracker-extract-oasis.c
@@ -24,8 +24,6 @@
 #include <glib.h>
 
 #include <libtracker-common/tracker-os-dependant.h>
-#include <libtracker-common/tracker-ontologies.h>
-#include <libtracker-common/tracker-utils.h>
 
 #include <libtracker-extract/tracker-extract.h>
 
diff --git a/src/tracker-extract/tracker-extract-pdf.c b/src/tracker-extract/tracker-extract-pdf.c
index 9ffced0..371133a 100644
--- a/src/tracker-extract/tracker-extract-pdf.c
+++ b/src/tracker-extract/tracker-extract-pdf.c
@@ -27,10 +27,7 @@
 #include <poppler.h>
 
 #include <libtracker-common/tracker-date-time.h>
-#include <libtracker-common/tracker-ontologies.h>
-#include <libtracker-common/tracker-type-utils.h>
 #include <libtracker-common/tracker-utils.h>
-#include <libtracker-common/tracker-type-utils.h>
 
 #include <libtracker-extract/tracker-extract.h>
 
diff --git a/src/tracker-extract/tracker-extract-playlist.c b/src/tracker-extract/tracker-extract-playlist.c
index 68dbb34..6b815c4 100644
--- a/src/tracker-extract/tracker-extract-playlist.c
+++ b/src/tracker-extract/tracker-extract-playlist.c
@@ -33,8 +33,6 @@
 
 #include <totem-pl-parser.h>
 
-#include <libtracker-common/tracker-ontologies.h>
-
 #include <libtracker-extract/tracker-extract.h>
 
 #define PLAYLIST_PROPERTY_NO_TRACKS "entryCounter"
diff --git a/src/tracker-extract/tracker-extract-png.c b/src/tracker-extract/tracker-extract-png.c
index d2ce761..4e7617e 100644
--- a/src/tracker-extract/tracker-extract-png.c
+++ b/src/tracker-extract/tracker-extract-png.c
@@ -36,11 +36,7 @@
 #include <glib.h>
 #include <glib/gstdio.h>
 
-#include <libtracker-common/tracker-date-time.h>
-#include <libtracker-common/tracker-ontologies.h>
-#include <libtracker-common/tracker-type-utils.h>
 #include <libtracker-common/tracker-file-utils.h>
-#include <libtracker-common/tracker-utils.h>
 
 #include <libtracker-extract/tracker-extract.h>
 
diff --git a/src/tracker-extract/tracker-extract-ps.c b/src/tracker-extract/tracker-extract-ps.c
index 4b053e1..d03e438 100644
--- a/src/tracker-extract/tracker-extract-ps.c
+++ b/src/tracker-extract/tracker-extract-ps.c
@@ -33,11 +33,8 @@
 #include <glib.h>
 #include <glib/gstdio.h>
 
-#include <libtracker-common/tracker-date-time.h>
-#include <libtracker-common/tracker-file-utils.h>
-#include <libtracker-common/tracker-type-utils.h>
 #include <libtracker-common/tracker-os-dependant.h>
-#include <libtracker-common/tracker-ontologies.h>
+#include <libtracker-common/tracker-file-utils.h>
 
 #include <libtracker-extract/tracker-extract.h>
 
diff --git a/src/tracker-extract/tracker-extract-tiff.c b/src/tracker-extract/tracker-extract-tiff.c
index 3927f2f..045f361 100644
--- a/src/tracker-extract/tracker-extract-tiff.c
+++ b/src/tracker-extract/tracker-extract-tiff.c
@@ -20,27 +20,12 @@
 
 #include "config.h"
 
-#include <stdio.h>
-
-#include <ctype.h>
-#include <string.h>
-#include <fcntl.h>
-
-#include <glib.h>
 #include <glib/gstdio.h>
 
-#include <tiff.h>
 #include <tiffio.h>
 
-#include <libtracker-common/tracker-ontologies.h>
-#include <libtracker-common/tracker-type-utils.h>
-#include <libtracker-common/tracker-file-utils.h>
-#include <libtracker-common/tracker-utils.h>
-
 #include <libtracker-extract/tracker-extract.h>
 
-#define EXIF_DATE_FORMAT        "%Y:%m:%d %H:%M:%S"
-
 typedef enum {
 	TIFF_TAGTYPE_UNDEFINED = 0,
 	TIFF_TAGTYPE_STRING,
diff --git a/src/tracker-extract/tracker-extract-vorbis.c b/src/tracker-extract/tracker-extract-vorbis.c
index 4cd1b43..8369179 100644
--- a/src/tracker-extract/tracker-extract-vorbis.c
+++ b/src/tracker-extract/tracker-extract-vorbis.c
@@ -29,8 +29,6 @@
 #include <vorbis/vorbisfile.h>
 
 #include <libtracker-common/tracker-file-utils.h>
-#include <libtracker-common/tracker-ontologies.h>
-#include <libtracker-common/tracker-utils.h>
 
 #include <libtracker-client/tracker.h>
 
diff --git a/src/tracker-extract/tracker-extract-xmp.c b/src/tracker-extract/tracker-extract-xmp.c
index 97f2f5e..a524a1c 100644
--- a/src/tracker-extract/tracker-extract-xmp.c
+++ b/src/tracker-extract/tracker-extract-xmp.c
@@ -19,14 +19,8 @@
 
 #include "config.h"
 
-#include <glib.h>
 #include <gio/gio.h>
 
-#include <libtracker-common/tracker-ontologies.h>
-#include <libtracker-common/tracker-type-utils.h>
-#include <libtracker-common/tracker-file-utils.h>
-#include <libtracker-common/tracker-utils.h>
-
 #include <libtracker-extract/tracker-extract.h>
 
 static void extract_xmp (const gchar          *filename,



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