Drop file watch on delete

This commit is contained in:
Yevgen Muntyan 2005-11-16 11:23:49 +00:00
parent 24eaec9b5c
commit 34b4e213e2

View File

@ -695,6 +695,7 @@ file_watch_event (G_GNUC_UNUSED MooFileWatch *watch,
case MOO_FILE_WATCH_DELETED:
edit->priv->deleted_from_disk = TRUE;
edit->priv->file_monitor_id = 0;
break;
case MOO_FILE_WATCH_CREATED: