Method

GUsbDeviceget_parent

since: 0.2.4

Declaration

GUsbDevice*
g_usb_device_get_parent (
  GUsbDevice* self
)

Description

Gets the device parent if one exists.

Available since: 0.2.4

Return value

Type: GUsbDevice

GUsbDevice or NULL.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.