Commit 01b12099 authored by Christian Hergert's avatar Christian Hergert
Browse files

recursive-monitor: don't follow through symlinks

parent cac52ec1
......@@ -288,7 +288,7 @@ dzl_recursive_file_monitor_changed (DzlRecursiveFileMonitor *self,
}
else if (event == G_FILE_MONITOR_EVENT_CREATED)
{
if (g_file_query_file_type (file, 0, NULL) == G_FILE_TYPE_DIRECTORY)
if (g_file_query_file_type (file, G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS, NULL) == G_FILE_TYPE_DIRECTORY)
{
g_autoptr(GPtrArray) dirs = NULL;
......
Supports Markdown
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