Sample code showing glib and inotify api unification based on: https://www.kernel.org/pub/linux/kernel/people/rml/inotify/glib/