mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Document that pre-unmount may not be emitted
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=636210
This commit is contained in:
parent
b8ccbd9a3c
commit
0ef7174e74
@ -101,9 +101,12 @@ g_mount_default_init (GMountInterface *iface)
|
||||
* GMount::pre-unmount:
|
||||
* @mount: the object on which the signal is emitted
|
||||
*
|
||||
* This signal is emitted when the #GMount is about to be
|
||||
* This signal may be emitted when the #GMount is about to be
|
||||
* unmounted.
|
||||
*
|
||||
* This signal depends on the backend and is only emitted if
|
||||
* GIO was used to unmount.
|
||||
*
|
||||
* Since: 2.22
|
||||
**/
|
||||
g_signal_new (I_("pre-unmount"),
|
||||
|
@ -159,7 +159,10 @@ g_volume_monitor_class_init (GVolumeMonitorClass *klass)
|
||||
* @volume_monitor: The volume monitor emitting the signal.
|
||||
* @mount: a #GMount that is being unmounted.
|
||||
*
|
||||
* Emitted when a mount is about to be removed.
|
||||
* May be emitted when a mount is about to be removed.
|
||||
*
|
||||
* This signal depends on the backend and is only emitted if
|
||||
* GIO was used to unmount.
|
||||
**/
|
||||
signals[MOUNT_PRE_UNMOUNT] = g_signal_new (I_("mount-pre-unmount"),
|
||||
G_TYPE_VOLUME_MONITOR,
|
||||
|
Loading…
Reference in New Issue
Block a user