Never call func on init.

SVN revision: 13444
This commit is contained in:
sebastid 2005-02-20 12:33:59 +00:00 committed by sebastid
parent fdfa8157c6
commit abdd8729c0
1 changed files with 4 additions and 0 deletions

View File

@ -139,13 +139,17 @@ ecore_file_monitor_add(const char *path,
} }
evas_list_free(files); evas_list_free(files);
} }
#if 0
else else
em->func(em->data, em, em->type, ECORE_FILE_EVENT_EXISTS, em->path); em->func(em->data, em, em->type, ECORE_FILE_EVENT_EXISTS, em->path);
#endif
} }
else else
{ {
em->type = ECORE_FILE_TYPE_NONE; em->type = ECORE_FILE_TYPE_NONE;
#if 0
em->func(em->data, em, em->type, ECORE_FILE_EVENT_DELETED, em->path); em->func(em->data, em, em->type, ECORE_FILE_EVENT_DELETED, em->path);
#endif
} }
_monitors = evas_list_append(_monitors, em); _monitors = evas_list_append(_monitors, em);