mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-23 18:52:09 +01:00
fixup! gdbusprivate: Add support for machine-id for darwin systems
This commit is contained in:
parent
f9862cee68
commit
51a7d456da
@ -2466,7 +2466,8 @@ _g_dbus_get_machine_id (GError **error)
|
||||
size_t platform_uuid_length;
|
||||
|
||||
matching = IOServiceMatching ("IOPlatformExpertDevice");
|
||||
service = IOServiceGetMatchingService (kIOMasterPortDefault, matching);
|
||||
service = IOServiceGetMatchingService (kIOMasterPortDefault,
|
||||
g_steal_pointer (&matching));
|
||||
io_platform_uuid =
|
||||
IORegistryEntryCreateCFProperty (service, CFSTR ("IOPlatformUUID"),
|
||||
kCFAllocatorDefault, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user