[nautilus/wip/antoniof/tag-manager-cleanup: 6/6] global-preferences: Drop unused tracker settings




commit 176d99be4b90d05c7788f5618fd2f482efb4bab1
Author: António Fernandes <antoniof gnome org>
Date:   Mon Dec 21 11:49:49 2020 +0000

    global-preferences: Drop unused tracker settings
    
    Unused since commit bd30a21a0ce1b40ca59814f731bd761670601aaa

 src/nautilus-global-preferences.c | 2 --
 src/nautilus-global-preferences.h | 1 -
 src/nautilus-tracker-utilities.c  | 4 ----
 3 files changed, 7 deletions(-)
---
diff --git a/src/nautilus-global-preferences.c b/src/nautilus-global-preferences.c
index 685ced48c..8fc9baadf 100644
--- a/src/nautilus-global-preferences.c
+++ b/src/nautilus-global-preferences.c
@@ -41,7 +41,6 @@ GSettings *gtk_filechooser_preferences;
 GSettings *gnome_lockdown_preferences;
 GSettings *gnome_background_preferences;
 GSettings *gnome_interface_preferences;
-GSettings *tracker_preferences;
 
 void
 nautilus_global_preferences_init (void)
@@ -66,5 +65,4 @@ nautilus_global_preferences_init (void)
     gnome_lockdown_preferences = g_settings_new ("org.gnome.desktop.lockdown");
     gnome_background_preferences = g_settings_new ("org.gnome.desktop.background");
     gnome_interface_preferences = g_settings_new ("org.gnome.desktop.interface");
-    tracker_preferences = g_settings_new ("org.freedesktop.Tracker3.Miner.Files");
 }
diff --git a/src/nautilus-global-preferences.h b/src/nautilus-global-preferences.h
index e7e497e3e..87a79e706 100644
--- a/src/nautilus-global-preferences.h
+++ b/src/nautilus-global-preferences.h
@@ -164,6 +164,5 @@ extern GSettings *gtk_filechooser_preferences;
 extern GSettings *gnome_lockdown_preferences;
 extern GSettings *gnome_background_preferences;
 extern GSettings *gnome_interface_preferences;
-extern GSettings *tracker_preferences;
 
 G_END_DECLS
diff --git a/src/nautilus-tracker-utilities.c b/src/nautilus-tracker-utilities.c
index 4b5f5c76e..be06951fa 100644
--- a/src/nautilus-tracker-utilities.c
+++ b/src/nautilus-tracker-utilities.c
@@ -21,10 +21,6 @@
 
 #include "config.h"
 #include "nautilus-tracker-utilities.h"
-#include "nautilus-global-preferences.h"
-
-#define TRACKER_KEY_RECURSIVE_DIRECTORIES "index-recursive-directories"
-#define TRACKER_KEY_SINGLE_DIRECTORIES "index-single-directories"
 
 /* Shared global connection to Tracker Miner FS */
 static const gchar *tracker_miner_fs_busname = NULL;


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