file monitors: use new giomodule function
authorRyan Lortie <desrt@desrt.ca>
Fri, 18 Jan 2013 23:30:36 +0000 (18:30 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 19 Jan 2013 19:04:49 +0000 (14:04 -0500)
commitc83600e8ae419df7c30b16d267d71d706a29936f
tree47b1a1f085e9f882d701315a7c75678a375c5dff
parent3a7b44c007c2d80d9adfa883eca82124ec39deee
file monitors: use new giomodule function

Get rid of the complicated default module detection code in
GLocalFileMonitor and GLocalDirectoryMonitor and use the new
_gio_module_get_default_type() function instead.

This change also adds the ability to override the default file monitor
via the GIO_USE_FILE_MONITOR environment variable in the same way as can
be done for GIO_USE_VFS.

https://bugzilla.gnome.org/show_bug.cgi?id=592211
gio/glocaldirectorymonitor.c
gio/glocalfilemonitor.c