gio: Deprecate G_VOLUME_IDENTIFIER_KIND_HAL_UDI

HAL itself has long been deprecated.
This commit is contained in:
Bastien Nocera 2018-05-28 17:13:53 +02:00
parent 4c84eac38e
commit 75950d70c9
2 changed files with 5 additions and 1 deletions

View File

@ -66,7 +66,7 @@
* different kinds of identifiers, such as Hal UDIs, filesystem labels,
* traditional Unix devices (e.g. `/dev/sda2`), UUIDs. GIO uses predefined
* strings as names for the different kinds of identifiers:
* #G_VOLUME_IDENTIFIER_KIND_HAL_UDI, #G_VOLUME_IDENTIFIER_KIND_LABEL, etc.
* #G_VOLUME_IDENTIFIER_KIND_UUID, #G_VOLUME_IDENTIFIER_KIND_LABEL, etc.
* Use g_volume_get_identifier() to obtain an identifier for a volume.
*
*

View File

@ -30,12 +30,16 @@
G_BEGIN_DECLS
#ifndef G_DISABLE_DEPRECATED
/**
* G_VOLUME_IDENTIFIER_KIND_HAL_UDI:
*
* The string used to obtain a Hal UDI with g_volume_get_identifier().
*
* Deprecated: 2.58: Do not use, HAL is deprecated.
*/
#define G_VOLUME_IDENTIFIER_KIND_HAL_UDI "hal-udi"
#endif /* G_DISABLE_DEPRECATED */
/**
* G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE: