[tracker-miners/wip/carlosg/compile-warnings: 1/9] tracker-extract: Remove unneeded gsf header includes



commit 21e722ed1c238f04c9eea161b28f5925ade20a0a
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Feb 17 01:18:43 2020 +0100

    tracker-extract: Remove unneeded gsf header includes
    
    For the places where we need it, using the gsf.h header is enough.

 src/tracker-extract/tracker-extract-msoffice-xml.c | 9 ---------
 src/tracker-extract/tracker-extract-msoffice.c     | 7 -------
 src/tracker-extract/tracker-gsf.h                  | 1 -
 3 files changed, 17 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-msoffice-xml.c 
b/src/tracker-extract/tracker-extract-msoffice-xml.c
index 4f699673b..c6d67d400 100644
--- a/src/tracker-extract/tracker-extract-msoffice-xml.c
+++ b/src/tracker-extract/tracker-extract-msoffice-xml.c
@@ -23,15 +23,6 @@
 
 #include <glib.h>
 
-#include <gsf/gsf.h>
-#include <gsf/gsf-doc-meta-data.h>
-#include <gsf/gsf-infile.h>
-#include <gsf/gsf-infile-msole.h>
-#include <gsf/gsf-input-stdio.h>
-#include <gsf/gsf-msole-utils.h>
-#include <gsf/gsf-utils.h>
-#include <gsf/gsf-infile-zip.h>
-
 #include <libtracker-extract/tracker-extract.h>
 
 #include "tracker-main.h"
diff --git a/src/tracker-extract/tracker-extract-msoffice.c b/src/tracker-extract/tracker-extract-msoffice.c
index 04ec4d0a8..ada35a1cd 100644
--- a/src/tracker-extract/tracker-extract-msoffice.c
+++ b/src/tracker-extract/tracker-extract-msoffice.c
@@ -26,13 +26,6 @@
 
 #include <glib.h>
 #include <gsf/gsf.h>
-#include <gsf/gsf-doc-meta-data.h>
-#include <gsf/gsf-infile.h>
-#include <gsf/gsf-infile-msole.h>
-#include <gsf/gsf-input-stdio.h>
-#include <gsf/gsf-msole-utils.h>
-#include <gsf/gsf-utils.h>
-#include <gsf/gsf-infile-zip.h>
 
 #include <libtracker-miners-common/tracker-common.h>
 #include <libtracker-extract/tracker-extract.h>
diff --git a/src/tracker-extract/tracker-gsf.h b/src/tracker-extract/tracker-gsf.h
index bfc85ea64..f6079483b 100644
--- a/src/tracker-extract/tracker-gsf.h
+++ b/src/tracker-extract/tracker-gsf.h
@@ -21,7 +21,6 @@
 #define __TRACKER_GSF_H__
 
 #include <glib.h>
-#include <gsf/gsf.h>
 
 G_BEGIN_DECLS
 


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