docs: Move the GVolumeMonitor SECTION

Move it to the struct docs.

Signed-off-by: Philip Withnall <philip@tecnocode.co.uk>

Helps: #3037
This commit is contained in:
Philip Withnall 2023-11-02 16:28:16 +00:00
parent ed247401bf
commit 7df150eaac
2 changed files with 7 additions and 15 deletions

View File

@ -32,19 +32,16 @@
/**
* SECTION:gvolumemonitor
* @short_description: Volume Monitor
* @include: gio/gio.h
* @see_also: #GFileMonitor
* GVolumeMonitor:
*
* #GVolumeMonitor is for listing the user interesting devices and volumes
* `GVolumeMonitor` is for listing the user interesting devices and volumes
* on the computer. In other words, what a file selector or file manager
* would show in a sidebar.
*
* #GVolumeMonitor is not
* [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.
* `GVolumeMonitor` is not
* thread-default-context aware (see
* [method@GLib.MainContext.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.

View File

@ -49,11 +49,6 @@ G_BEGIN_DECLS
*/
#define G_VOLUME_MONITOR_EXTENSION_POINT_NAME "gio-volume-monitor"
/**
* GVolumeMonitor:
*
* A Volume Monitor that watches for volume events.
**/
typedef struct _GVolumeMonitorClass GVolumeMonitorClass;
struct _GVolumeMonitor