GFileMonitor cease to emit events after monitored symlink on it is deleted.
Submitted by A.G.
Link to original bug (#706222)
Description
Steps to reproduce:
- create GFileMonitor for some directory - /tmp for example;
- create symlink pointing to the same directory: ln -s . test
- create GFileMonitor for /tmp/test;
- delete directory /tmp/test;
- unref monitor for /tmp/test;
- monitor for /tmp don't receive any events anymore.
The bug was reported for GLib 2.37, I've got the same behavior on 2.30, didn't test on any other versions.