Commit 186e94ba authored by Benjamin Otte's avatar Benjamin Otte

searchenginetracker: Ignore NULL directories

parent 93171cf4
......@@ -536,6 +536,9 @@ get_indexed_locations (GtkSearchEngineTracker *engine)
for (i = 0; locations[i] != NULL; i++)
path = path_from_tracker_dir (locations[i]);
if (path == NULL)
location = g_file_new_for_path (path);
g_ptr_array_add (engine->indexed_locations, location);
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