gvolumemonitor: Document the need to run a main loop

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://gitlab.gnome.org/GNOME/glib/issues/1119
This commit is contained in:
Philip Withnall 2018-09-07 12:18:44 +01:00
parent 86ab6ffa8d
commit 83cd2f6204

View File

@ -43,6 +43,9 @@
* [thread-default-context aware][g-main-context-push-thread-default],
* and so should not be used other than from the main thread, with no
* thread-default-context active.
*
* In order to receive updates about volumes and mounts monitored through GVFS,
* a main loop must be running.
**/
G_DEFINE_TYPE (GVolumeMonitor, g_volume_monitor, G_TYPE_OBJECT)