diff options
author | Philip Withnall <withnall@endlessm.com> | 2018-09-07 12:18:44 +0100 |
---|---|---|
committer | Philip Withnall <withnall@endlessm.com> | 2018-09-07 12:18:44 +0100 |
commit | 83cd2f620471f57e2006ec9e4351844f8426befc (patch) | |
tree | 2484f2aecfc1a2942ab645067bc42bbe4766b626 | |
parent | 86ab6ffa8d076e80a172e71153bb6044f27e49ea (diff) | |
download | glib-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.c | 3 |
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) |