Commit 061037ea authored by Carlos Garnacho's avatar Carlos Garnacho

tracker-miner-fs: Remove unused function

This function is unused since commit 26f3ba3d.
parent 1ba0a493
......@@ -2753,44 +2753,6 @@ done:
return should_process;
}
gboolean
tracker_miner_files_check_directory_contents (GFile *parent,
GList *children,
GSList *ignored_content)
{
GSList *l;
if (!ignored_content) {
return TRUE;
}
while (children) {
gchar *basename;
basename = g_file_get_basename (children->data);
for (l = ignored_content; l; l = l->next) {
if (g_strcmp0 (basename, l->data) == 0) {
gchar *parent_uri;
parent_uri = g_file_get_uri (parent);
/* g_debug ("Directory '%s' ignored since it contains a file named '%s'", */
/* parent_uri, basename); */
g_free (parent_uri);
g_free (basename);
return FALSE;
}
}
children = children->next;
g_free (basename);
}
return TRUE;
}
gboolean
tracker_miner_files_monitor_directory (GFile *file,
gboolean enable_monitors,
......
......@@ -62,9 +62,6 @@ gboolean tracker_miner_files_check_directory (GFile *f
GSList *index_single_directories,
GSList *ignored_directory_paths,
GSList *ignored_directory_patterns);
gboolean tracker_miner_files_check_directory_contents (GFile *parent,
GList *children,
GSList *ignored_content);
gboolean tracker_miner_files_monitor_directory (GFile *file,
gboolean enable_monitors,
GSList *directories_to_check);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment