[tracker/wip/carlosg/domain-ontologies: 52/124] libtracker-data: Drop unused function
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/carlosg/domain-ontologies: 52/124] libtracker-data: Drop unused function
- Date: Thu, 29 Jun 2017 18:43:29 +0000 (UTC)
commit c12d8697bf5895353114dee061988c2643cefa7c
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Jun 9 22:29:11 2017 +0200
libtracker-data: Drop unused function
src/libtracker-data/tracker-data-manager.c | 47 ----------------------------
src/libtracker-data/tracker-data-manager.h | 4 --
2 files changed, 0 insertions(+), 51 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-manager.c b/src/libtracker-data/tracker-data-manager.c
index 0feef99..89a8bbd 100644
--- a/src/libtracker-data/tracker-data-manager.c
+++ b/src/libtracker-data/tracker-data-manager.c
@@ -3565,53 +3565,6 @@ tracker_data_manager_recreate_indexes (TrackerBusyCallback busy_callback,
g_debug (" Finished index re-creation...");
}
-gboolean
-tracker_data_manager_reload (TrackerBusyCallback busy_callback,
- gpointer busy_user_data,
- const gchar *busy_operation,
- GError **error)
-{
- TrackerDBManagerFlags flags;
- guint select_cache_size;
- guint update_cache_size;
- gboolean is_first;
- gboolean status;
- GError *internal_error = NULL;
-
- g_info ("Reloading data manager...");
- /* Shutdown data manager... */
- flags = tracker_db_manager_get_flags (db_manager, &select_cache_size, &update_cache_size);
- reloading = TRUE;
- tracker_data_manager_shutdown ();
-
- g_info (" Data manager shut down, now initializing again...");
-
- /* And initialize it again, this actually triggers index recreation. */
- status = tracker_data_manager_init (flags,
- cache_location_stored,
- data_location_stored,
- ontology_location_stored,
- &is_first,
- TRUE,
- FALSE,
- select_cache_size,
- update_cache_size,
- busy_callback,
- busy_user_data,
- busy_operation,
- &internal_error);
- reloading = FALSE;
-
- if (internal_error) {
- g_propagate_error (error, internal_error);
- }
-
- g_info (" %s reloading data manager",
- status ? "Succeeded" : "Failed");
-
- return status;
-}
-
static gboolean
write_ontologies_gvdb (gboolean overwrite,
GError **error)
diff --git a/src/libtracker-data/tracker-data-manager.h b/src/libtracker-data/tracker-data-manager.h
index c8f9e8f..61244dc 100644
--- a/src/libtracker-data/tracker-data-manager.h
+++ b/src/libtracker-data/tracker-data-manager.h
@@ -63,10 +63,6 @@ gboolean tracker_data_manager_init (TrackerDBManagerFlags fl
GError **error);
void tracker_data_manager_shutdown (void);
-gboolean tracker_data_manager_reload (TrackerBusyCallback busy_callback,
- gpointer busy_user_data,
- const gchar *busy_operation,
- GError **error);
GFile * tracker_data_manager_get_cache_location();
GFile * tracker_data_manager_get_data_location ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]