[tracker/api-cleanup: 8/16] tracker-writeback: Remove unneeded code using TrackerMinerManager



commit 0b10700422c2c1b9de64143c58c29a1d98131539
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sun Jan 26 01:01:40 2014 +0100

    tracker-writeback: Remove unneeded code using TrackerMinerManager
    
    TrackerMinerManager isn't used here after all, so remove all code
    using it.

 .../libtracker-miner/libtracker-miner-docs.sgml    |    5 -----
 src/tracker-writeback/tracker-writeback-module.c   |   12 ------------
 src/tracker-writeback/tracker-writeback-module.h   |    1 -
 3 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/docs/reference/libtracker-miner/libtracker-miner-docs.sgml 
b/docs/reference/libtracker-miner/libtracker-miner-docs.sgml
index 3d7e2bd..99b089c 100644
--- a/docs/reference/libtracker-miner/libtracker-miner-docs.sgml
+++ b/docs/reference/libtracker-miner/libtracker-miner-docs.sgml
@@ -43,11 +43,6 @@
     </chapter>
 
     <chapter>
-      <title>Managing miners</title>
-      <xi:include href="xml/tracker-miner-manager.xml"/>
-    </chapter>
-
-    <chapter>
       <title>Base abstract providers for network/password/etc control</title>
       <xi:include href="xml/tracker-network-provider.xml"/>
       <xi:include href="xml/tracker-password-provider.xml"/>
diff --git a/src/tracker-writeback/tracker-writeback-module.c 
b/src/tracker-writeback/tracker-writeback-module.c
index f73ef7a..3a1933a 100644
--- a/src/tracker-writeback/tracker-writeback-module.c
+++ b/src/tracker-writeback/tracker-writeback-module.c
@@ -23,8 +23,6 @@
 
 #include "tracker-writeback-module.h"
 
-static TrackerMinerManager *manager = NULL;
-
 static gboolean writeback_module_load   (GTypeModule *module);
 static void     writeback_module_unload (GTypeModule *module);
 
@@ -198,13 +196,3 @@ tracker_writeback_update_metadata (TrackerWriteback         *writeback,
 
        return FALSE;
 }
-
-TrackerMinerManager*
-tracker_writeback_get_miner_manager (void)
-{
-       if (!manager) {
-               manager = tracker_miner_manager_new ();
-       }
-
-       return manager;
-}
diff --git a/src/tracker-writeback/tracker-writeback-module.h 
b/src/tracker-writeback/tracker-writeback-module.h
index a9f6acf..94e079e 100644
--- a/src/tracker-writeback/tracker-writeback-module.h
+++ b/src/tracker-writeback/tracker-writeback-module.h
@@ -78,7 +78,6 @@ gboolean                tracker_writeback_update_metadata   (TrackerWriteback
                                                              TrackerSparqlConnection  *connection,
                                                              GCancellable             *cancellable,
                                                              GError                  **error);
-TrackerMinerManager*    tracker_writeback_get_miner_manager (void);
 
 /* Entry functions to be defined by modules */
 TrackerWriteback *      writeback_module_create             (GTypeModule              *module);


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