summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <withnall@endlessm.com>2018-09-07 12:18:44 +0100
committerPhilip Withnall <withnall@endlessm.com>2018-09-07 12:18:44 +0100
commit83cd2f620471f57e2006ec9e4351844f8426befc (patch)
tree2484f2aecfc1a2942ab645067bc42bbe4766b626
parent86ab6ffa8d076e80a172e71153bb6044f27e49ea (diff)
downloadglib-83cd2f620471f57e2006ec9e4351844f8426befc.tar.gz
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
-rw-r--r--gio/gvolumemonitor.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gio/gvolumemonitor.c b/gio/gvolumemonitor.c
index cb22f8927..1718bb6a5 100644
--- a/gio/gvolumemonitor.c
+++ b/gio/gvolumemonitor.c
@@ -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)