mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-27 18:10:03 +01:00
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:
parent
86ab6ffa8d
commit
83cd2f6204
@ -43,6 +43,9 @@
|
|||||||
* [thread-default-context aware][g-main-context-push-thread-default],
|
* [thread-default-context aware][g-main-context-push-thread-default],
|
||||||
* and so should not be used other than from the main thread, with no
|
* and so should not be used other than from the main thread, with no
|
||||||
* thread-default-context active.
|
* 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)
|
G_DEFINE_TYPE (GVolumeMonitor, g_volume_monitor, G_TYPE_OBJECT)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user