mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-06 01:16:17 +01:00
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:
parent
ed247401bf
commit
7df150eaac
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user