forked from enlightenment/efl
Check if dir exists before listening to it
SVN revision: 55008
This commit is contained in:
parent
c75b63a482
commit
b9c9af539a
|
@ -1250,6 +1250,7 @@ efreet_desktop_changes_listen(void)
|
|||
|
||||
EINA_LIST_FREE(dirs, path)
|
||||
{
|
||||
if (ecore_file_is_dir(path))
|
||||
efreet_desktop_changes_listen_recursive(path);
|
||||
eina_stringshare_del(path);
|
||||
}
|
||||
|
@ -1269,6 +1270,7 @@ efreet_desktop_changes_listen(void)
|
|||
{
|
||||
unsigned int size = *(unsigned int *)p;
|
||||
p += sizeof(unsigned int);
|
||||
if (ecore_file_is_dir(p))
|
||||
efreet_desktop_changes_monitor_add(p);
|
||||
p += size;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue