mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 06:33:41 +02:00
gio: Add G_DRIVE_IDENTIFIER_KIND_UNIX_DEVICE
It's a synonym of G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE. It doesn't change anything except not feeling dirty from using a wrongly prefixed constant for the object type. See: #182
This commit is contained in:
@@ -30,6 +30,15 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
/**
|
||||
* G_DRIVE_IDENTIFIER_KIND_UNIX_DEVICE:
|
||||
*
|
||||
* The string used to obtain a Unix device path with g_drive_get_identifier().
|
||||
*
|
||||
* Since: 2.58
|
||||
*/
|
||||
#define G_DRIVE_IDENTIFIER_KIND_UNIX_DEVICE "unix-device"
|
||||
|
||||
#define G_TYPE_DRIVE (g_drive_get_type ())
|
||||
#define G_DRIVE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_DRIVE, GDrive))
|
||||
#define G_IS_DRIVE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_DRIVE))
|
||||
|
Reference in New Issue
Block a user