Drop file watch on delete

master
Yevgen Muntyan 2005-11-16 11:23:49 +00:00
parent 24eaec9b5c
commit 34b4e213e2
1 changed files with 1 additions and 0 deletions

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: