[tracker/wip/carlosg/domain-ontologies: 70/116] libtracker-miner: Remove tracker_miner_fs_force_recheck()



commit 61ab5be7f8f5a31d6157ea3391371785884741fe
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sun Jun 18 00:06:33 2017 +0200

    libtracker-miner: Remove tracker_miner_fs_force_recheck()
    
    It's been a no-op for years.

 .../libtracker-miner/libtracker-miner-sections.txt |    1 -
 src/libtracker-miner/tracker-miner-fs.c            |   23 --------------------
 src/libtracker-miner/tracker-miner-fs.h            |    1 -
 src/libtracker-miner/tracker-miner.vapi            |    1 -
 4 files changed, 0 insertions(+), 26 deletions(-)
---
diff --git a/docs/reference/libtracker-miner/libtracker-miner-sections.txt 
b/docs/reference/libtracker-miner/libtracker-miner-sections.txt
index 44fdaf9..21a5113 100644
--- a/docs/reference/libtracker-miner/libtracker-miner-sections.txt
+++ b/docs/reference/libtracker-miner/libtracker-miner-sections.txt
@@ -199,7 +199,6 @@ tracker_miner_fs_check_file
 tracker_miner_fs_check_file_with_priority
 tracker_miner_fs_check_directory
 tracker_miner_fs_check_directory_with_priority
-tracker_miner_fs_force_recheck
 tracker_miner_fs_writeback_file
 tracker_miner_fs_writeback_notify
 tracker_miner_fs_notify_finish
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index e5418a5..2c14764 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -3496,29 +3496,6 @@ tracker_miner_fs_query_urn (TrackerMinerFS *fs,
        return g_strdup (lookup_file_urn (fs, file, TRUE));
 }
 
-void
-tracker_miner_fs_force_recheck (TrackerMinerFS *fs)
-{
-#if 0
-       GList *directories;
-
-       g_return_if_fail (TRACKER_IS_MINER_FS (fs));
-
-       g_message ("Forcing re-check on all index directories");
-
-       directories = fs->priv->config_directories;
-
-       while (directories) {
-               tracker_priority_queue_add (fs->priv->directories,
-                                           directory_data_ref (directories->data),
-                                           G_PRIORITY_LOW);
-               directories = directories->next;
-       }
-
-       crawl_directories_start (fs);
-#endif
-}
-
 /**
  * tracker_miner_fs_set_mtime_checking:
  * @fs: a #TrackerMinerFS
diff --git a/src/libtracker-miner/tracker-miner-fs.h b/src/libtracker-miner/tracker-miner-fs.h
index f5d1412..94cd948 100644
--- a/src/libtracker-miner/tracker-miner-fs.h
+++ b/src/libtracker-miner/tracker-miner-fs.h
@@ -177,7 +177,6 @@ void                  tracker_miner_fs_check_directory_with_priority
                                                               gint             priority,
                                                               gboolean         check_parents);
 
-void                  tracker_miner_fs_force_recheck         (TrackerMinerFS  *fs);
 void                  tracker_miner_fs_writeback_file        (TrackerMinerFS  *fs,
                                                               GFile           *file,
                                                               GStrv            rdf_types,
diff --git a/src/libtracker-miner/tracker-miner.vapi b/src/libtracker-miner/tracker-miner.vapi
index 1100f9a..eaf659e 100644
--- a/src/libtracker-miner/tracker-miner.vapi
+++ b/src/libtracker-miner/tracker-miner.vapi
@@ -120,7 +120,6 @@ namespace Tracker {
                public static GLib.Quark error_quark ();
                public void notify_finish (GLib.File file, GLib.Task task, string sparql, GLib.Error error);
                public void force_mtime_checking (GLib.File directory);
-               public void force_recheck ();
                public unowned Tracker.DataProvider get_data_provider ();
                public unowned Tracker.IndexingTree get_indexing_tree ();
                public bool get_initial_crawling ();


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