[glib: 1/2] gvolumemonitor: Document the need to run a main loop



commit 83cd2f620471f57e2006ec9e4351844f8426befc
Author: Philip Withnall <withnall endlessm com>
Date:   Fri Sep 7 12:18:44 2018 +0100

    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

 gio/gvolumemonitor.c | 3 +++
 1 file changed, 3 insertions(+)
---
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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]