Method

GUsbDeviceget_parent

Declaration

GUsbDevice*
g_usb_device_get_parent (
  GUsbDevice* self
)

Description

Gets the device parent if one exists.

Available since:0.2.4

Return value

Returns: GUsbDevice
 

GUsbDevice or NULL.

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