Check if we find the monitor in the list.

SVN revision: 30123
This commit is contained in:
Sebastian Dransfeld 2007-05-28 10:35:12 +00:00
parent e1523b0493
commit 9bc0ab2e6e
1 changed files with 2 additions and 2 deletions

View File

@ -962,8 +962,8 @@ efreet_util_monitor_cb(void *data, Ecore_File_Monitor *monitor __UNUSED__,
/* Ignore, we should already have a monitor on any subdir */
break;
case ECORE_FILE_EVENT_DELETED_SELF:
ecore_list_goto(monitors, em);
ecore_list_remove(monitors);
if (ecore_list_goto(monitors, em))
ecore_list_remove(monitors);
efreet_util_monitor_free(em);
break;
case ECORE_FILE_EVENT_MODIFIED: