Skip to content
Snippets Groups Projects
Commit 9956d9e1 authored by Błażej Szczygieł's avatar Błażej Szczygieł Committed by Alexander Schwinn
Browse files

Don't check for file exists on "deleted" event

parent e8da3e3d
No related branches found
No related tags found
1 merge request!357Improve folder monitor and move some logic from file monitor there
......@@ -853,8 +853,7 @@ thunar_folder_monitor (GFileMonitor *monitor,
/* update/destroy the corresponding file */
if (event_type == G_FILE_MONITOR_EVENT_DELETED)
{
if (!thunar_file_exists (folder->corresponding_file))
thunar_file_destroy (folder->corresponding_file);
thunar_file_destroy (folder->corresponding_file);
}
else
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment