Add is_supported() to GNativeVolumeMonitorClass so that we can avoid
authorAlexander Larsson <alexl@redhat.com>
Mon, 17 Dec 2007 16:00:33 +0000 (16:00 +0000)
committerAlexander Larsson <alexl@src.gnome.org>
Mon, 17 Dec 2007 16:00:33 +0000 (16:00 +0000)
commitc4e3cfbf4070d9bf255d08e23591e8a8dc476d72
tree596731fcf2dfad9d3e202bdf45cf46a17e974f02
parentfeb5258cf9ca9c3b3d9a58a98b1c6c75c822855a
Add is_supported() to GNativeVolumeMonitorClass so that we can avoid

2007-12-17  Alexander Larsson  <alexl@redhat.com>

        * gnativevolumemonitor.h:
        * gunionvolumemonitor.c:
        * gunixvolumemonitor.c:
Add is_supported() to GNativeVolumeMonitorClass so
that we can avoid having to create an object to see
if the backend is supported at runtime.
Also add name member and an env var to pick a specific
volume monitor backend.

        * gmountprivate.h:
        * glocalfile.c:
Add cancellable to _g_mount_get_for_mount_path()

        * glocaldirectorymonitor.c:
        * glocalfilemonitor.c:
Avoid loading and unloading modules while sorting.

svn path=/trunk/; revision=6144
gio/ChangeLog
gio/glocaldirectorymonitor.c
gio/glocalfile.c
gio/glocalfilemonitor.c
gio/gmountprivate.h
gio/gnativevolumemonitor.h
gio/gunionvolumemonitor.c
gio/gunixvolumemonitor.c